News for hackers. Stuff that matters.
Re:GnuTLS considered harmful (2008) by mox1 on Wednesday March 05, 2014 @12:18PM (#7348201)
Java obviously, there are no security issues with java...

No wait! Ruby, that should be perfect, can't cause buffer overflow there....

Ermm.. wait I got , well use python!

Re:GnuTLS considered harmful (2008) by lispm on Wednesday March 05, 2014 @12:20PM (#7348219)
What do you think the Java runtime is written in? The Ruby runtime? The Python runtime?

Hint: it starts with a C.

If you build a house in a swamp, you are in trouble.

Re:GnuTLS considered harmful (2008) by aryastark on Wednesday March 05, 2014 @01:24PM (#7348715)
Wow, you're daft. Everything is, ultimately, getting turned into machine code. Not even Lisp Machines could get away from this fundamental fact: http://funcall.blogspot.com/2009/04/some-lisp-machine-minuti...

> Bogus objects — properly tagged words with invalid addresses that pointed at uninitialized memory or into the middle of object of a different type — which would cause the GC to corrupt memory would be left in registers or on the stack. These sort of problems were everywhere in the microcode.

Go build your cabin in the woods now.

Re:GnuTLS considered harmful (2008) by lispm on Wednesday March 05, 2014 @01:45PM (#7348888)
Sure one can corrupt memory on a Lisp Machine. System software like the micro code or the garbage collector can contain bugs.

Something like a buffer overflow was very very rare. This was not a systemic problem like it is in C.

Re:GnuTLS considered harmful (2008) by diminoten on Wednesday March 05, 2014 @12:59PM (#7348508)
> The Python runtime?

Why, Python, of course![0]

[0] - http://pypy.org/

(I jest, your point is entirely valid)

Re:GnuTLS considered harmful (2008) by mox1 on Wednesday March 05, 2014 @12:37PM (#7348340)
I was making a joke....

If C is the wrong choice, what is the right choice?

Re:GnuTLS considered harmful (2008) by jmz92 on Wednesday March 05, 2014 @12:42PM (#7348398)
In a couple years or so, my bet would be on Rust.
Re:GnuTLS considered harmful (2008) by bjourne on Wednesday March 05, 2014 @06:53PM (#7350848)
Java has several runtimes. The most popular one is Hotspot and written in C++.
Re:GnuTLS considered harmful (2008) by betterunix on Wednesday March 05, 2014 @09:38PM (#7351524)
You can write the Python runtime in something other than C:

http://pypy.org/

And there are Java compilers and runtimes written in Java, and Lisp compilers written in Lisp, etc.

Re:GnuTLS considered harmful (2008) by lmm on Wednesday March 05, 2014 @06:34PM (#7350771)
I can't speak for Ruby, but in both Java and Python I've never seen a bug this embarrassingly bad. I mean, this bug simply would not have happened in a language with a working boolean type, or with exceptions (I trust the ZeroMQ guy's judgement about as far as I can throw him).