HNHacker News
TopNewBestAskShowJobs

Lucretia9

114 karma · joined May 18, 2017

https://github.com/Lucretia/
submissionscomments
Lucretia9··on Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
No, it really cannot. It's a person's name.
Lucretia9··on Introduction to Ada
ed?
Lucretia9··on Introduction to Ada
VSCode / Atom aren't IDE's, they are editors with lots of plugin's, like VIM and Emacs are.
Lucretia9··on Introduction to Ada
You only need to go on programming languages or compilers subreddits to see that they only seem to know C or C++, due to the "hey, I made a language and it's based on C(++), only btter." I look and it's basically the same mistakes each time, the for loop, the basic data types, etc.
Lucretia9··on Introduction to Ada
Yup, look at any driver in the Linux kernel.
Lucretia9··on Introduction to Ada
I've done plenty of C and C++, so I know what {} means, it's just that braces are harder to see, especially when there's a lot of them.
Lucretia9··on Introduction to Ada
AIUI, it used to be £5k per seat here.
Lucretia9··on Introduction to Ada
When was that? For a company I know who tried to use Ada a while back, that 5K was too expensive even then.
Lucretia9··on Introduction to Ada
Currently it's built around gnat, not looked at the source, but I hope they've built in portability across compilers.
Lucretia9··on Introduction to Ada
I've done that.
Lucretia9··on Introduction to Ada
It's a brilliant language and due to the fact that it can limit you in the eyes of employers is one reason why I'm dabbling with other languages (including Go) and also a syntax for a new one inspired by Ada.
Lucretia9··on Introduction to Ada
>Probably mostly due to licensing issues.

Yup. See https://www.reddit.com/r/ada/comments/ijwqfl/last_call_on_th...

> Ada has a runtime that you basically have to use and the most complete AdaCore version forces you to release executables under GPL.

See above.

> The FSF version is less complete (many libraries are missing)

Incorrect, AdaCore just packages their libs with their version of the compiler, with FSF, you have to build them yourself, which is a pain. But they are working on that.

> and allows you to use the much more permissive mGPL version.

MGPL hasn't been a thing for at least 10 years now. The FSF version if GPLv3 with linking exception.

> However, it always lags behind the version from AdaCore and many developers in the past were scared away by the licensing issues.

And the cost of licencing from AdaCore. Not small company / startup friendly, but apparently that has changed, but you still have to email them for prices!

> - Ada is a very complete language and not easy to learn. The syntax is special, in that it specifies each construct on its own and re-uses keywords.

This makes no sense, all languages are "complete" to some degree. The syntax is not special, it's like any other, it's defined by a grammar, as are all languages. A lot of languages re-use keywords.

Lucretia9··on Introduction to Ada
I don't get this whole need to shorten keywords to 2 letters when the IDE will just autocomplete them, it's really stupid.
Lucretia9··on Introduction to Ada
I don't know SPARK and haven't touched it, but...I had to learn Ada9X at uni in 1995, I've been using it for the last 15 years and have been on #Ada on Freenode for longer.

1) The creator of #Ada, caracal, once said that when he was in the army, there were two groups of people: i) those who were interested to learn about Ada and ii) those who were totally against it without having seen any of the language at all. The second group were the ones who, when they came around with the green manuals, just refused to even read them.

2) I went back to Ada after burning out in a shitty games company, essentially sitting in a debugger for 19 hours straight isn't good. The only time I have to use a debugger is when using pointers, Ada allows you to avoid pointers for the most part.

Ada's type system, data modelling, it's unparalleled anywhere else ever.

There's not enough people working with Ada in OSS.

It's easy to burn yourself out on a big project sometimes.

3) Very modern, the docs are good, but the tooling is lacking. But then I come from a time of command lines and no package managers.

Lucretia9··on Introduction to Ada
Oh Ada is so much more complex than Pascal. I think getting something with the numeric types is doable in a smaller timeframe, the OO, tasking stuff would be much harder.

You could knock out an object-Pascal / Oberon compiler in a matter of weeks imo.

Lucretia9··on Introduction to Ada
Why didn't you, at least, put in Ada's numeric type system into D? You would've had a massive edge over C++ right there.
Lucretia9··on Introduction to Ada
I think someone was looking for that. You don't have a copy of the other languages do you? Red is online, but blue and yellow are not.
Lucretia9··on Introduction to Ada
There are many industries that could benefit from Ada, but one in particular is the games industry, but then, they'd also have to start designing stuff, stop feature creep and changing every little thing all the time, and crunch.
Lucretia9··on Introduction to Ada
Shame you didn't write an Ada compiler, the docs were available. It would've been interesting to see what you would've come up with. It'd still be interesting I think.

A lot of the older closed compiler are still based around the program library idea which is no longer required, considering GNAT is file / project based. I've only used GNAT and have no idea how the program library versions work.

Lucretia9··on Introduction to Ada
You'd spend about 1000th of the time in a debugger compared to modern C++ and about 1000000th the time compared to C.
Lucretia9··on Introduction to Ada
It's Pascal inspired but certainly not any of Wirth's syntaxes, like 1/2 line if's, semi colons in weird places making blocks look odd. Ada has a more inclusive syntax, whereby "is" or "begin" and "end" encases what is inside it. Compare Modula's:

    MODULE X;
        ...
    END MODULE X.
and Ada's:

    package X is
       ...
    end X;
Ada's package feels like one statement containing others, whereby Modula's looks like it ends on the first line.
Lucretia9··on Introduction to Ada
Ada is case insensitive, so if you really wanted to you could write it in all lower or all upper case. Although, your source would be considered hard to read.
Lucretia9··on Introduction to Ada
You should count up how many keywords C++ has, then count the number in Ada.
Lucretia9··on Introduction to Ada
People need to stop using "wordy" when they mean "readable."
Lucretia9··on The failed rollout of Britain's covid-19 app were the result of clear errors
The word "mismanagement" assumes it was meant to work. It wasn't. It was a bung to one of Cummings' mates to make an app to gather information on us, which didn't work, because people knew who it was from and didn't trust it. It was never meant to work. Just like the track and trace call handlers they "employed" to do nothing with no training, not meant to work. It's all about syphoning money off to their mates and the Russians.
Lucretia9··on Ask HN: Who is hiring? (January 2020)
Do you assist in relocating?
← PreviousPage 3 of 3