6 ms·
I could see it happening in the future. There's has been a mini resurgence in C from (normally high level language) programmers who are getting sick of web dev
by visualstudio 8y ago
I could see it happening in the future.
There's has been a mini resurgence in C from (normally high level language) programmers who are getting sick of web development and are interested in data oriented design.
Conference benefits could be:
Pushing the C standard. C11 is barely supported.
Discussing new standards in a forum other than mailing lists. Did you guys know there is already a C17 standard?
Letting old C devs pass on their wisdom to new C devs. C has a lot of pitfalls but also has a lot of neat tricks.
Show off new and existing tools.
etc.
- varjag 8y ago> C11 is barely supported. Username checks out.
- baby 8y agoThe problem is that nobody new to the scene wants to write C anymore. It's not a secure language, it has no convention and is full of hacks. On top of that it has undefined behaviors and is supported differently by different systems. Nowadays people want to write in Go, Rust, Swift, etc.
- varjag 8y agoWhich scene? You still learn C to get work done with hardware, like it on not.
- pjmlp 8y agoFor strange that it may seem to youngsters, that capability is not unique to C. https://www.mikroe.com/mikropascal-pic https://www.mikroe.com/mikropascal-pic https://www.mikroe.com/mikrobasic-pic https://www.mikroe.com/mikrobasic-pic http://www.astrobe.com/default.htm http://www.astrobe.com/default.htm https://www.ptc.com/en/products/developer-tools/apexada https://www.ptc.com/en/products/developer-tools/apexada https://www.ghs.com/products/ada_optimizing_compilers.html https://www.ghs.com/products/ada_optimizing_compilers.html Some examples of non-C languages used in production code for doing stuff with hardware.
- noselasd 8y agoAnd you'll struggle upstream if you go that route. Pretty much all vendors for embedded platforms only provide C libraries/drivers/examples/subsystems/documentation.
- pjmlp 8y agoThe compiler vendors I listed are vendors for embedded platforms, they also sell boards. The problem, as expressed multiple times on C++ conferences, is the devs that are religiously against anything that isn't C89 + language extensions + Assembly.
- kahlonel 8y agoNot going to spend $250 on an ugly looking IDE that forces me to work on a Windows PC.
- pjmlp 8y agoThen better not work on tne embedded industry, as that is the OS of choice for like 99% of the SDKs, even C based ones targeted at Eclipse CDT. Which I guess is also beautiful then.
- varjag 8y agoI'm 41 and work in embedded, but thanks. There's approximately zero people in the trade who don't know or never used C. And you certainly know this.
- pjmlp 8y agoSorry about that then. Surely I know that, but there is this image being sold that C is the only option, when those companies that I have listed are in business for at least 20 years now. I also know there are a large amount of people in the trade that have zero regard for writing secure C code, despite the availability of tooling to help in such regard. Which is getting worse now that those systems are being plugged into the Internet.
- baby 8y agoLooks like Rust is starting to become the hardware language
- varjag 8y agoThere is a lot of hype and no industry penetration so far. Things may change certainly, and it's not the worst thing to happen.
- dman 8y agoFortunately not everyone makes technical decisions using the wisdom of crowds.
- baby 8y agoIf people would switch to Rust and stop writing C the world would probably be a safer place yes.
- beefhash 8y agoGiven Rust's spotty platform support[1], I don't see that happening anytime soon. [1] https://forge.rust-lang.org/platform-support.html https://forge.rust-lang.org/platform-support.html
- SmellyGeekBoy 8y agoIt's possible to write unsafe code in any language.
- baby 8y agoCome on... C doesn't initialize memory, doesn't manage memory, doesn't verify bounds for buffers, etc. It's especially unsafe to write C.
- com2kid 8y agoC is so much fun though. Having so much direct control over everything, no layers of abstraction clouding your view, is incredibly enjoyable in the right context.
- flukus 8y ago> Letting old C devs pass on their wisdom to new C devs. C has a lot of pitfalls but also has a lot of neat tricks. On this topic, does anyone know any good blogs along these lines? I'd love to read some practical day to day stuff from people that have been working in C for decades, usually all I see from places like HN are weird compiler incompatibilities and rare exceptions that I never have to deal with. Most of my experience comes from toy projects and horrible decades old code I deal with at work. The former is great for trying out ideas but I don't learn how they scale (human wise) on larger longer projects and the later is more a lesson in what not to do.
- atheriel 8y agoThe blog this post belongs to has loads of interesting posts on C.