News for hackers. Stuff that matters.

0xAA55

Re:Rust and the Future of Systems Programming [video] on Thursday November 17, 2016 @11:36PM (#12984391)
Every single application or website is a system (see the push in recent years for web assembly).

The difference is that a "systems programming language" has the capability of being used low level if needed while a "shit scripting language" such as javascript does not. Basically what I am saying here is that Javascript is an underwear taint-stain for modern computer science. With any luck it will be rid of this world in 20 years and you javascript programmers can stop torturing yourselves with new "hot libraries" and "ECMA transpilers" every 2-4 years.

I recently went to the ends of the earth to get a 2016 manual VW sportwagen in the US -- but it was possible after going to dealerships looking at me like I was insane.

Shifting around in my BMW e36 5 speed will always be one of my greatest pleasures <3 -- nothing gets me up better for work than knowing I can speed around like an asshole on the way :)

People complain about traffic, but I feel the opposite. I mean, in an auto if you see a spot to cut into you are forced to floor it to force the car in a low enough gear -- it feels like the car is suffering vrrrAHHHHHHHHER

Re:Rust and the Future of Systems Programming [video] on Wednesday November 16, 2016 @01:15PM (#12969699)
Want to make a fast application on a pebble and with actual type checking? C and Ada won't complain or blur your lines... http://blog.adacore.com/make-with-ada-formal-proof-on-my-wri...
Re:A list of modern C++ features on Monday November 14, 2016 @07:08PM (#12954520)
"...despite the changes that it has undergone since its first published description, which was admittedly informal and incomplete..." ~ Dennis M. Ritchie

It took a decade to even decide what the C language really was and standardize it -- sounds pretty undefined and whimsical to me. But we all use and understand words differently so let's agree to disagree :)

Re:A list of modern C++ features on Monday November 14, 2016 @12:51PM (#12951696)
First of all what if I am lunatic xD

There are so many parts of C that are unsafe that a secondary tool is needed to have an reasonable type-checking and that tends to be devastating if they can be easily avoided by even safety critical engineers.

https://users.ece.cmu.edu/~koopman/pubs/koopman14_toyota_ua_... "Toyota does not claim to have followed MISRA Guidelines"

And honestly I dont think we agree on what "a few" is. In my book if any more than 4 or 10 people die from a solved problem in computer science (like strong typing, mutexes, and range checking) that is already way too yes many

As far as decisions on a whim compare the two language design efforts and i'll let you decide:

http://www.adapower.com/index.php?Command=Class&ClassID=FAQ&... "The requirements were not a language specification, but instead they attempted to define rigorously the needed characteristics in a form that could be critically reviewed."

https://www.codingunit.com/the-history-of-the-c-language “It’s entirely Dennis Ritchie’s work”

Re:A list of modern C++ features on Monday November 14, 2016 @10:12AM (#12950228)
Indeed, except for all the flaws C++ decided to add from C including is cryptic syntax (i++, ++i, <<, ::, ?) and macros it is a good language.

In fact, from that list it seems like it is finally meeting parody on key Ada 95 features -- so maybe we dont have to be so sad :)

Re:A list of modern C++ features on Monday November 14, 2016 @08:15AM (#12949594)
What I meant to emphasize was that Ada was well designed in the first place, and yes GC was a problem and so were some of the restrictions and aspects of the standard libraries. For example, a big one was unconstrained types for generic actuals...

C is a mine-field of devastating design flaws which have caused many people to die because of decades old decisions made on a whim and any change to basic libraries to make them safer and removing dangerous functions is heresy.

As far as Python, yes the two versions of the language is troublesome for users but the language is objectively better and students learning programming for the first time benefit from a more robust version.

Feel free to give me a random code snippet ;p

Re:A list of modern C++ features on Monday November 14, 2016 @06:49AM (#12949174)
The big difference here is how additions in C++ tend to work - e.g. keeping all of the deprecated ill-defined legacy and growning features on it like tumors until there are no more symbols left. Unlike Ada and Python which aren't afraid of throwing away poor design and were overall more thought out in the first place (especially Ada).

Its not a "complexity game" in so much as poor design being over-compensated for. C++ is like cancer infecting the minds of young programmers with buggy habits -- and no amount of features and static analysis will change what lies beneath... :p

Re:Announcing Rust 1.13 on Friday November 11, 2016 @12:05AM (#12928066)
Versus the Ada equivalent:

    Foo.Bar.Baz;
  exception when Program_Error => Put ("WHoops");
            when Constraint_Error => Put ("Dang");
            when Gaim_OVer_Main => Put ("??? D: ");
            when others => Put ("IDC...");
Re:Spotify excessively writing to drive on Wednesday November 09, 2016 @09:35PM (#12917227)
Vote this issue up if you have an account! https://community.spotify.com/t5/Ongoing-Issues/Major-I-O-wr...
Re:So you think you know C? on Wednesday November 09, 2016 @06:58AM (#12909512)
Or you could just not worry about it and assume the language is well-defined with precise methodologies grounded on common sense like Ada.

https://gcc.gnu.org/onlinedocs/gnat_rm/Value_005fSize-and-Ob...

On second thought, who cares about reading its for squares and nerds. I would rather spend 2 hours Google searching what is an octet and finding out how enums are represented... :p

Re:“Design Patterns” Aren't (2002) on Wednesday November 02, 2016 @12:26AM (#12852249)
Ancient cruft from an arcane language and other neat thoughts about scripting languages from 2002.
Re:Modern Software Over-Engineering Mistakes on Sunday October 16, 2016 @09:05AM (#12718425)
This only really applies to web-developers.... but I guess that is what is meant by "modern software"