Learning about GTK apps with Vala (ElementaryOS Apps Pt 2)

Watch on YouTube

Show annotations

8,358

252

2

Genre: Gaming

Family friendly? Yes

Wilson score: 0.9717

Rating: 4.9685 / 5

Engagement: 3.04%

Egee

Subscribe | 18.1K

Shared February 3, 2017

Vala is the main programming language used by the ElementaryOS team to develop apps for ElementaryOS and Pantheon.

Unlike many common programming languages, the Vala compiler does not compile Vala code into machine code. Instead, Vala code is compiled to C code with Gnome's Gobject libraries. The C code is then compiled to machine code and used to produce an executable. All of this functionality happens within the compiler and the programmer doesn't have to worry about it.

Vala is primarily used for developing GTK apps however there's nothing technically preventing it from being used for any other application. Since Vala is trans-compiled into C code, technically an application written in Vala has to potential to be as performant as an application written in C.

Vala's main target is GTK+ / GTK3 but it can be used with GTK2.

⬇︎Social Links ⬇︎

✔︎ Discord:
https://discord.gg/tVyBHAU

✔︎ Website:
http://www.egee.io

✔︎ Twitter:
https://twitter.com/egee_irl

----

👍 Support The Channel By Clicking The Links Below! 👍

✔︎ Motherboard: MSI A88XM:
http://amzn.to/29OQeP6

✔︎ CPU: A10-7850k:
http://amzn.to/29rmTtB

✔︎ GPU: R7 360:
http://amzn.to/29tLj4A

✔︎ RAM: Kingston HyperX 8gb:
http://amzn.to/29SiRHP

✔︎ SSD: Samsung 850 EVO:
http://amzn.to/29BABbA

✔︎ HDD: Seagate Barracuda 1TB 7200rpm:
http://amzn.to/29SjfpI

✔︎ Input: Steam Controller:
http://amzn.to/29ufZmo

✔︎ Capture Device: Elgato Game Capture HD60:
http://amzn.to/2aiPxup


Egee

Hope you guys liked this video! Make sure you watch the first video so you understand the context - https://www.youtube.com/watch?v=vxvZGf69nko .

2 years ago | [YT] | 5

Manuel del Valle

Nice work Egee! Would be great if you could put up a series of videos showing the implementation of a whole "real" (but, of course, simple;) application. Covering the whole dev cycle, debugging, testing... That could turn to be very useful and ecouraging, especially now that elementary "Houston" is shaping up :)

2 years ago | [YT] | 7

Cassidy James Blaede

These videos are gold. Great work Egee!

1 year ago | [YT] | 2

Žiga Lausegger

THIS is how you get people to Linux! =)

7 months ago | [YT] | 1

Oo Ismynamo

This videos are so amazing. Thank you.

1 year ago | [YT] | 0

Yaroslav Sydorenko

Hello, Egee, what settings you use for Visual Studio Code?

2 years ago | [YT] | 0

championchap

Thanks for the videos, I definitely won't be using the OoP(s) style though :)

1 year ago | [YT] | 0

Ceasius

Just my preference but I think I'll be sticking to C#. Unfortunately there's probably a lot of elementary os features that aren't implemented in GTK#

2 years ago | [YT] | 1

Cameron VanNatta

loved the videos. keep'em coming

2 years ago | [YT] | 0

Bakke Medina

what is the extension of the terminal integartion on visual code?

2 years ago | [YT] | 0

Tavin's Origami Instructions

no debugger? that's a pass for me then.

7 months ago | [YT] | 1

AbdulKareem Nalband

@Egee You could use gdb or one of its frontend(I like nemiver) to debug vala application (pass -g to compiler)

2 years ago (edited) | [YT] | 0

Keith

Super helpful, thank you!

2 years ago | [YT] | 0

1998goodboy

this is all nice, but its only for elementry os, i would rather just learn normal gtk/vala so it would be able to program on a non ubuntu system (because the elementry os sdk is only on ubuntu)

2 years ago | [YT] | 0

Donovan Goodwin

Do you think you might release this code? I would like to take a look and see exactly what is going on, see I learn much better by seeing and testing than by listening. Maybe a github?

2 years ago | [YT] | 1


10:09

Gnome Builder For Vala & GTK Apps on ElementaryOS Linux

5.1K views

7:31

Best Linux Distros: Choosing the Right Linux Version for You

482K views

25:01

Visual Basic .Net : Search in Access Database - DataGridView BindingSource Filter Part 1/2

8.1M views

1:25:25

After Effects character animation workflow

6.8M views

5:49

elementary OS is NOT a mac OS clone, here's why !

28K views

7:11

Microsoft word tutorial |How to insert images into word document table

23M views

20:32

How to create a 3D Terrain with Google Maps and height maps in Photoshop - 3D Map Generator Terrain

8.1M views

34:09

3D Printing: 13 Things I Wish I Knew When I Got Started

1.3M views

36:05

How to Install & Configure printer, Network Printer

5.8M views

16:46

Ubuntu 18.10 vs Fedora 29 - a different focus.

220K views

8:12

Transistors - The Invention That Changed The World

2.8M views

6:03

Create an ElementaryOS app with GTK & Vala! (ElementaryOS Apps Pt 1)

16K views

22:14

Hacking Starbucks WiFi with a Raspberry Pi and Kali Linux

213K views

16:34

You can learn Arduino in 15 minutes.

3.9M views

3:23

Learn GTK development with Genie (ElementaryOS Apps Pt 3)

3.1K views

8:47

How to Start a Speech

11M views

14:22

elementary OS 5.0 Juno Review - Linux Distro Review

79K views

23:20

How to Learn Anything... Fast - Josh Kaufman

3.3M views

4:59

Awesome elementary OS Productivity apps

9.5K views