News for hackers. Stuff that matters.
Re:Why Aren't There C Conferences? by visualstudio on Wednesday November 21, 2018 @02:19PM (#18505228)
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.

Re:Why Aren't There C Conferences? by baby on Wednesday November 21, 2018 @04:51PM (#18506400)
The 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.

Re:Why Aren't There C Conferences? by dman on Wednesday November 21, 2018 @05:46PM (#18506706)
Fortunately not everyone makes technical decisions using the wisdom of crowds.
Re:Why Aren't There C Conferences? by baby on Wednesday November 21, 2018 @05:47PM (#18506710)
If people would switch to Rust and stop writing C the world would probably be a safer place yes.
Re:Why Aren't There C Conferences? by beefhash on Thursday November 22, 2018 @12:54AM (#18508160)
Given Rust's spotty platform support[1], I don't see that happening anytime soon.

[1] https://forge.rust-lang.org/platform-support.html

Re:Why Aren't There C Conferences? by SmellyGeekBoy on Thursday November 22, 2018 @07:23AM (#18509566)
It's possible to write unsafe code in any language.
Re:Why Aren't There C Conferences? by baby on Thursday November 22, 2018 @10:33PM (#18514161)
Come on... C doesn't initialize memory, doesn't manage memory, doesn't verify bounds for buffers, etc.

It's especially unsafe to write C.

Re:Why Aren't There C Conferences? by dman on Thursday November 22, 2018 @11:37PM (#18514400)
Thats why we have Java / Rust / Python / CSharp.
Re:Why Aren't There C Conferences? by baby on Friday November 23, 2018 @12:22AM (#18514537)
My point.
Re:Why Aren't There C Conferences? by dman on Friday November 23, 2018 @03:23PM (#18518699)
So we agree that we have different tools with different tradeoffs?
Re:Why Aren't There C Conferences? by baby on Friday November 23, 2018 @04:57PM (#18519133)
Of course, for now. But I still disagree that it is as easy (or hard) to write C without bugs as in any other languages. Most people should not write C.
Re:Why Aren't There C Conferences? by dman on Friday November 23, 2018 @05:15PM (#18519208)
In the same vein - if you happen to be stuck in a problem domain where counting/avoiding allocations is important the other languages I listed above (even C++ really) make things very hard. Rust has a decent take on building a safer c++ (with what appears to be C++ levels of complexity). Would like something similar to emerge for C.
Re:Why Aren't There C Conferences? by com2kid on Wednesday November 21, 2018 @11:14PM (#18507818)
C 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.
Re:Why Aren't There C Conferences? by varjag on Wednesday November 21, 2018 @05:07PM (#18506497)
Which scene? You still learn C to get work done with hardware, like it on not.
Re:Why Aren't There C Conferences? by pjmlp on Wednesday November 21, 2018 @05:36PM (#18506653)
For strange that it may seem to youngsters, that capability is not unique to C.

https://www.mikroe.com/mikropascal-pic

https://www.mikroe.com/mikrobasic-pic

http://www.astrobe.com/default.htm

https://www.ptc.com/en/products/developer-tools/apexada

https://www.ghs.com/products/ada_optimizing_compilers.html

Some examples of non-C languages used in production code for doing stuff with hardware.

Re:Why Aren't There C Conferences? by kahlonel on Wednesday November 21, 2018 @06:19PM (#18506852)
Not going to spend $250 on an ugly looking IDE that forces me to work on a Windows PC.
Re:Why Aren't There C Conferences? by pjmlp on Thursday November 22, 2018 @02:02AM (#18508379)
Then 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.

Re:Why Aren't There C Conferences? by noselasd on Wednesday November 21, 2018 @05:49PM (#18506722)
And you'll struggle upstream if you go that route. Pretty much all vendors for embedded platforms only provide C libraries/drivers/examples/subsystems/documentation.
Re:Why Aren't There C Conferences? by pjmlp on Wednesday November 21, 2018 @05:51PM (#18506730)
The 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.

Re:Why Aren't There C Conferences? by varjag on Thursday November 22, 2018 @03:28AM (#18508658)
I'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.
Re:Why Aren't There C Conferences? by pjmlp on Thursday November 22, 2018 @03:46AM (#18508732)
Sorry 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.

Re:Why Aren't There C Conferences? by varjag on Thursday November 22, 2018 @04:04AM (#18508804)
Sure, I've seen embedded work done with anything from assembly to Lisp. But it's all marginal, trying to get into embedded development without learning C would be very career limiting. For example, not sure how many new projects are started in 2018 with Pascal on PIC but suspect not a lot.

Perhaps the most popular non-C development platform these days is Arduino on Atmel 8 bit chips, but it is still really a dumbed down version of C(++).

Re:Why Aren't There C Conferences? by pjmlp on Thursday November 22, 2018 @05:23AM (#18509120)
Actually Arduino is one way I hope that C++ gets more embedded love.

Either that, or certification requirements like AUTOSAR that have switched to C++14.

Re:Why Aren't There C Conferences? by baby on Wednesday November 21, 2018 @05:47PM (#18506713)
Looks like Rust is starting to become the hardware language
Re:Why Aren't There C Conferences? by varjag on Thursday November 22, 2018 @03:32AM (#18508679)
There is a lot of hype and no industry penetration so far. Things may change certainly, and it's not the worst thing to happen.
Re:Why Aren't There C Conferences? by flukus on Wednesday November 21, 2018 @07:50PM (#18507222)
> 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.

Re:Why Aren't There C Conferences? by atheriel on Wednesday November 21, 2018 @10:22PM (#18507675)
The blog this post belongs to has loads of interesting posts on C.