News for hackers. Stuff that matters.
Re:Of Lisp Macros and Washing Machines (2011) by yoklov on Saturday March 30, 2013 @08:51AM (#5465247)
You can't really have a totally safe systems programming language (correct me if I'm wrong here).

It depends what you mean by totally safe, but Cyclone (http://cyclone.thelanguage.org/) is a type and memory safe dialect of C. It works by adding additional information to the type of every pointer, e.g. if it can be NULL, if it's NUL terminated, if you know the length, the scope it was allocated in, the location on the stack it's from, etc...

This all happens at compile time, and it runs about the same speed as C, so I think it qualifies.

From what I've read, this has had more of an influence on programming language designers/implementers (rust, possibly c++11, probably more), than on anybody else, though.

edit: NULL -> NUL

Re:Of Lisp Macros and Washing Machines (2011) by hp50g on Saturday March 30, 2013 @02:32PM (#5466240)
This sort of stuff works until you need to poke some registers in a graphics card or the language's MM has a bug or you need C's dynamic nature.
Re:Of Lisp Macros and Washing Machines (2011) by pjmlp on Saturday March 30, 2013 @06:37PM (#5466907)
What dynamic nature does C have that every other systems programming language in the world lacks?
Re:Of Lisp Macros and Washing Machines (2011) by hp50g on Sunday March 31, 2013 @12:54PM (#5469226)
dynamic loading, arbitrary casts (it is what I tell you it is) etc etc.
Re:Of Lisp Macros and Washing Machines (2011) by pjmlp on Sunday March 31, 2013 @02:20PM (#5469571)
I can do that in Ada, Turbo Pascal, Delphi, Modula-2, Oberon, Oberon-2, Component Pascal, Active Oberon, Modula-3, Cyclon and many others, what is so special about C?
Re:Of Lisp Macros and Washing Machines (2011) by hp50g on Sunday March 31, 2013 @05:30PM (#5470255)
It's not Ada or Pascal-like :)
Re:Of Lisp Macros and Washing Machines (2011) by pjmlp on Monday April 01, 2013 @01:52AM (#5471684)
You mean easy to write security exploits?