Ada 2012 Language Standard Approved by ISO
adacore.com
adacore.com
I mean, if I don't have my event loops (event loops are web-scale, you see) and MangoDB ORM/ODM/object-state-propagator I can't be productive. (Gotta slam code for my startup!)
Also I heard Ada's type system was responsible for blowing up that Ariane V rocket. Clearly ninja-tech like JavaScript's weak/dynamic type system wouldn't have caused that.
Too much and your posts turn grey. Too little and your comments won't be upvoted to the top.
I just wish there was a more visible community of libraries it's hard to get into a language when you have to start at writing a CS 10* level of software due to lack of libraries for higher level/more interesting projects.
In both cases it was a good fit and the language was fairly pleasant to use, if a bit verbose and pedantic to my Ruby-and-Perl-accustomed brain.
It's certainly worth playing with.
So a subleq virtual machine here, a markov chain there, but I've never managed to really sink my teeth in.
Please post proved facts, not wrong, misleading "I heard" FUD.
(Unless you were being double-sarcastic, in which case this post is a fail)
http://archive.eiffel.com/doc/manuals/technology/contract/ar...
EDIT: there's a reference link but I can't open it on my phone.
Funny joke. It's worth knowing what really happened to the Ariane 5 though. There used to be some great discussions of it on Usenet but it seems like maybe Google has lost them. Here are the cliff's notes as I remember them:
* The root cause of the disaster was a management decision to re-use the Ariane 4 navigation system without any testing for the new rocket, on the grounds that testing is expensive and time-consuming.
* The Ariane 4 was a slower rocket than the Ariane 5 so numbers with respect to speed and acceleration were smaller.
* During launch, there was an integer overflow in a system that was only needed prior to launch and continued running through the launch for no reason. I believe it was code to do INS synchronization. The integer overflow couldn't happen on an Ariane 4 due to slower velocities.
* While that system wasn't necessary for launch, the overflow caused an Ada exception to be raised, which was uncaught and caused the whole navigation system to terminate.
* Once the range safety system (also written in Ada) recognized that the rocket was out of control it automatically terminated the launch to protect those on the ground.
MISRA C people immediately leaped on the disaster claiming that "Ada caused it," on the grounds that C code would have silently ignored the error. Ada's exceptions are similar to those in most modern languages and the "exception wars" have now pretty much been won by the pro-exception people, so the whole argument is pretty archaic.
Of course MISRA C and C++ are slowly beating Ada in the market even though they're an inferior fit for purpose because of the perception that the ecosystem is healthier.
I've also heard that the integer overflow was actually caught by the hardware itself, which generated a signal that the Ada runtime turned into a native exception. So had it been C code it wouldn't have silently ignored the problem, it would have terminated due to an uncaught signal.
I ... I think this is what getting old feels like.
https://github.com/raganwald/method-combinators/blob/master/...
Why is it always the fuckheads who can't program who feel they have to give you their advice? And why is their advice always "escape to <programming language du jour> and all your problems will disappear". If they knew how to program they'd be able to teach you how to program in the language you are already using.
Let's see how that changes. One only has to think of C++, where for quite a while a lot of people urged strongly against template metaprogramming and other more modern features, basically sticking with a '90s C++, but now that C++11 out, everyone is really hurrying to get on the bandwagon again, just because a few of the new features are that good.
Looks like I'm spending my holidays with some statically typed compiled languages again. Might as well try finishing/redoing that RPG I started out in '94. Design notes must be somewhere, though I guess I won't have much luck with my backup floppies.
I have 5 or 6 Ada textbooks still sitting on my shelf, which are now even further outdated. Maybe I'll go get the latest GNAT and play with Ada again to pretend I still use those books.
And by "inspired" I mean it has the same chatty Pascal-descendent syntax and inline queries and that's about it.
http://stackoverflow.com/questions/3165525/go-scala-go-what-...