IRC log for #elinux on 20170401

00:22.21*** join/#elinux infobot (ibot@rikers.org)
00:22.21*** topic/#elinux is http://eLinux.org/ || Ask anything; it may take 24+ hours to get a response. Mailing lists -> http://elinux.org/ELinuxWiki:Mailing_List ; Logs available at ibot.rikers.org
00:22.21*** mode/#elinux [+o infobot] by ChanServ
04:55.39*** join/#elinux RagBal (~RagBal@82-168-15-181.ip.open.net)
05:00.32*** join/#elinux vstehle (~vstehle@rqp06-1-88-178-86-202.fbx.proxad.net)
07:41.56*** join/#elinux vstehle (~vstehle@rqp06-1-88-178-86-202.fbx.proxad.net)
10:04.30*** join/#elinux t0mmy (~tprrt@ram31-1-82-234-79-177.fbx.proxad.net)
15:39.29*** join/#elinux Mqx_ (~Mqx_@176.151.125.142)
15:48.42Mqx_Hi everyone. At the beginning, i apologize for my bad langage, but english isn't my native speaking. I'm student and i search some information about Embedded Linux... Especially, when we want to use it ? With wich langage ?  
15:49.03Mqx_It's only C ? Or we can do "system programming" with C++ ?
15:53.45Mqx_If i'm not in the right channel, can you give me one more appropriate ? :)
15:57.25jn__Mqx_: C++ is fine, if you only use language features that don't bloat the binary size too much
15:57.59jn__the linux kernel is written in C and bit tiny bit of assembly, and that won't change
15:58.58jn__embedded linux is used in embedded systems where the designers decided that linux's features are worth using
16:18.47Mqx_Okay, thanks :)
16:19.24Mqx_So, learn C++ is a good way to learn embedded linux ?
16:20.17jn__i wouldn't say that
16:20.20Mqx_--> If i learn the modern C++ ( C++11 and higher ), it's a good way if i want to specialize in embedded Linux after ?
16:21.27jn__rather, setting up/running/using linux on an embedded system (regardless of the programming languages of your applications) is a good way to learn about embedded linux
16:23.31jn__knowing modern C++ can't really hurt, i think. But if you want to do something with linux (the kernel) or any common low-level userspace libraries, you'll need to know C as well
16:23.48Mqx_Okay
16:23.55jn__s/something/something special/
16:23.56Mqx_I really like the C langage
16:24.34Mqx_Actually, i do my internship in embedded programming ( C in avr board, with no OS )
16:24.53jn__ok, then you're familiar with C already
16:24.59Mqx_Yep
16:25.44Mqx_One of my co-worker said me C++ is the best way if i want to specialize in embedded programming and system programming
16:26.51jn__again, i wouldn't support that claim
16:27.31jn__but C++ is interesting, and if you want to use it on embedded linux systems, go ahead and do that
16:27.43Mqx_I really like to devellop some driver and low-level library, but i'm a beginners. I don't know if there are some "common structure" for a driver
16:29.04jn__drivers can live either in the kernel, or in userspace. most drivers on a linux system live in the kernel.
16:29.44jn__if you want to get a rough idea about kernel drivers, i'd suggest that you look at some of them
16:29.46Mqx_( thanks for your answers :) )
16:29.55Mqx_Okay
16:30.14jn__https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers
16:30.34Mqx_Somebody told me, try to understand some basic gnu library is a good way to practice
16:30.43Mqx_like the glibc
16:30.54jn__it won't be easy to understand everything they do, but without a first impression, you can ask deeper questions
16:31.32Mqx_okay :)
16:31.57jn__i personally wouldn't like to read glibc code
16:32.00Mqx_Further, can i get a job with this specialities ?
16:32.05Mqx_*specialitie
16:32.16jn__yes
16:34.57jn__i don't know about any general "embedded linux" job offerings, but (experienced) kernel developers seem to have a good chance of finding a job. 80% of the commits in the linux kernel are from companies (according to the "Linux Kernel Development Report", i think)
16:39.36Mqx_Okay :)
16:40.15Mqx_But to do  kernel commit, i need really strong background in C, system programming and in the mechanism of an OS, rigth ?
16:40.19jn__a company in my city uses C++ on embedded linux systems to do some kind of Radar signal processing
16:40.26Mqx_oh nice :)
16:40.32Mqx_Where are you from? :)
16:41.12jn__Germany, Aachen
16:41.33jn__https://www.kernel.org/doc/html/latest/index.html <-- this is quite useful
16:48.43Mqx_Thanks :)
16:49.02Mqx_i come from Belgium, Liège (if you know)
16:50.16jn__yes, it's not far from here
16:50.30Mqx_yes
16:50.55Mqx_i can go to Aachen with Thalys ^^
16:52.16Mqx_So, i'm really glad to your answers :) I need to leave now
16:52.25Mqx_Thanks you, you help me a lot !
16:54.13jn__ok, bye
17:15.16Mqx_I'm back
17:15.35Mqx_Do you know the KernelNewbies website ?
17:19.09jn__yes
17:19.45jn__but AFAIK it isn't really active anymore
17:20.48Mqx_afaik ?
17:21.07jn__AFAIK = as far as i know
17:21.28jn__ok, it's more active than i tought
17:22.12jn__the kernelnewbies mailing list sees a good amount of activity per month: https://lists.kernelnewbies.org/pipermail/kernelnewbies/2017-March/thread.html
17:22.21jn__the irc channel is almost dead, though
17:22.41Mqx_Okay
17:22.45Mqx_thanks :)
17:23.01Mqx_So if i want to learn, i don' twant to pass with kernelnewbies to study
17:25.32jn__kernelnewbies is a useful resource, but the information in its wiki may be outdated
17:26.36Mqx_<PROTECTED>
17:26.47Mqx_some book can be helpfull N
17:26.48Mqx_?
17:27.07jn__probably
17:27.15jn__i don't have a linux book
17:27.48Mqx_Actually, i have the "C Linux system programming" writen by Christian Blaess. He describe all of the posix interface
17:28.01jn__if you want to write kernel drivers, LDD3 is worth looking at
17:28.39jn__sounds useful
17:29.21Mqx_:) thanks
17:29.36Mqx_I think i can find it on internet, rigth ?
17:34.51jn__yes: https://lwn.net/Kernel/LDD3/
17:39.30Mqx_:) thanks
17:39.46jn__if you want a single pdf of the whole book, use pdfjoin or get https://ipfs.io/ipfs/QmT4F1MwbZ4rsRHMM3S9JVVFHk5JKyytTLhxPd4pz1CmCM
17:42.24Mqx_Thanks i go download that
17:49.45jn__the biggest problem with LDD3 is that the internal API of linux changed a lot since it was written (and it keeps changing)
17:50.06jn__but the general concepts should still be applicable
17:57.35Mqx_okay
17:57.45Mqx_jn__, really thanks for your advce :)
17:57.52Mqx_*advice
18:50.33*** join/#elinux Mqx_ (~Mqx_@176.151.125.142)
19:07.25*** join/#elinux russ (foobar@47.145.218.162)
19:07.25*** mode/#elinux [+o russ] by ChanServ
20:27.15*** join/#elinux Mqx_ (~Mqx_@176.151.125.142)
22:22.51*** join/#elinux dave0x6d (uid190567@gateway/web/irccloud.com/x-fcycchvpmwpxpodd)
22:33.45*** join/#elinux Mqx_ (~Mqx_@176.151.125.142)
23:15.43*** join/#elinux likewhoa (~likewhoa@s2.maserver.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.