News for hackers. Stuff that matters.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by deletes on Tuesday March 04, 2014 @03:30PM (#7342894)
You realize that most lower things are written in or base on C, right.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by thrownaway2424 on Tuesday March 04, 2014 @03:53PM (#7343038)
Yes I am fully aware of the sad state of our industry.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by codygman on Tuesday March 04, 2014 @04:06PM (#7343134)
I'm curious, what do you propose the industry use?
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by pktgen on Tuesday March 04, 2014 @04:20PM (#7343238)
Would love to hear the answer to this as well. For the types of thing C is used for, I do not know of another language that can _practically_ be used for the same thing, while maintaining the same level of performance. Rust looks promising but is not mature yet.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by thrownaway2424 on Tuesday March 04, 2014 @06:10PM (#7343904)
You've never heard of C++?
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by 72deluxe on Wednesday March 05, 2014 @04:35AM (#7346150)
Like BeOS!
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by dfkf on Tuesday March 04, 2014 @04:34PM (#7343342)
C++11? (runs away...)
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by ForHackernews on Tuesday March 04, 2014 @05:25PM (#7343644)
Isn't Go designed to fill this niche? It's supposed to be a low-level systems language, but with "friendlier" features than C, and built-in concurrency support.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by codygman on Tuesday March 04, 2014 @06:04PM (#7343873)
They kind of recanted that statement and said they meant it for "web servers" and stuff like that. However I know there has been at least a window manager made in Go.

I don't think it's the best fit, but it's a lot better than many current solutions. I personally prefer Haskell for anything others would write in Go, however many may find Ocaml or Erlang to fit them better.

However I'm biased and believe that functional programming is a better fit, more bug-free, easier, and simpler for most use cases than imperative programming.

Re: Critical crypto bug leaves Linux, hundreds of apps open ... by pktgen on Tuesday March 04, 2014 @05:29PM (#7343675)
Go is advertised as a systems language but certain things like the lack of manual memory management say otherwise.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by wbl on Wednesday March 05, 2014 @12:55AM (#7345565)
Before there was C, there was Pascal. You didn't have malloc in Pascal. At ETH Zurich the standard OS was written in Oberon: it ran directly on the hardware with a garbage collector collecting everything.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by thrownaway2424 on Tuesday March 04, 2014 @06:23PM (#7343975)
Go also has a very highly quality crypto implementation. It has all of the good-code features that gnutls lacks: comments that make sense, unit tests, automatic memory management (of course), useful types, etc.

Compare http://golang.org/src/pkg/crypto/x509/x509.go to https://www.gitorious.org/gnutls/gnutls/source/6aa26f78150cc...

Re: Critical crypto bug leaves Linux, hundreds of apps open ... by codygman on Tuesday March 04, 2014 @09:40PM (#7344894)