← Home ← Back to /g/

Thread 106408099

62 posts 20 images /g/
Anonymous No.106408099 >>106408178 >>106408326 >>106408859 >>106408971 >>106409819 >>106410244 >>106410266 >>106410672 >>106410687 >>106410722 >>106410742 >>106412714 >>106414248 >>106415292
Ada
Is it worth learning?
Anonymous No.106408178 >>106408859
>>106408099 (OP)
No.
Anonymous No.106408183 >>106408859
Never has been.
Anonymous No.106408311
id try it over rust anyday might actually be able to get a high paying job with it
Anonymous No.106408326
>>106408099 (OP)
I wonder if they use it at Doge.
Anonymous No.106408337
Funny I considered it just a day ago after 30 years of other langs
Anonymous No.106408859 >>106408877
>>106408099 (OP)
It’s an enjoyable language to work with, but it depends what your goals are. It’s not widely used, so job openings are few and far between. It’s well designed, and troon free. For personal projects it’s my language of choice.
>>106408178
>>106408183
Seething troons
Anonymous No.106408877 >>106408910
>>106408859
It's a very fun programming language, it's just used for dick all. Not even the DoD uses it anymore.
Anonymous No.106408910 >>106412411
>>106408877
I’m not sure they personally used it for much, only they mandated it to contractors building their equipment. You’ll still find it used here and there, but there’s a lot more C++.

The switch away from Ada wasn’t even technical. During the late 90s, C++ was gaining popularity (probably because of gaming and Windows), so all the university grads knew it, making the C++ programmer more common, and thus cheaper.
Anonymous No.106408957
The only reason to use any language is because you enjoy using it, if you're learning it to land a McJob you're jeet tier anyhow
Anonymous No.106408971 >>106409001 >>106409010 >>106412656
>>106408099 (OP)
The jobs for Ada are dying, this was a language for the US DoD. There is no need to learn it.

Other anons have said it, projects moved onto newer technologies once C++ replaced Ada, now Java/Go/Rust replaced C++. Enjoy
Anonymous No.106408980 >>106409108
Online introduction to Ada, with interactive compiler:
https://learn.adacore.com/courses/intro-to-ada/chapters/introduction.html

Interactive labs to test your knowledge:
https://learn.adacore.com/labs/intro-to-ada/index.html

Intro to Ada:
https://learn.adacore.com/pdf_books/courses/intro-to-ada.pdf

Ada for the C++ or Java Developer:
https://learn.adacore.com/pdf_books/courses/Ada_For_The_CPP_Java_Developer.pdf

Ada: A Crash Course:
http://www.pchapin.org/Ada/AdaCrash.pdf

Books:
Programming in Ada 2012 by Barnes
Beginning Ada Programming by Shvets
Anonymous No.106409001 >>106409028
>>106408971
Ada never stopped evolving, whereas Rust highlighted problems with C++, people are starting to take note of other alternatives as well. Ada has been quietly brilliant in the background.
Anonymous No.106409010
>>106408971
>Rust replaced C++
Troon delusions.
Anonymous No.106409028 >>106409061 >>106409092
>>106409001
The third party libraries for Ada are a joke. Ada needs insane hackery to interface with other languages. The default library compared C std sucks.
Anonymous No.106409061
>>106409028
You’re right, there isn’t a Crate for “is_even”, this should be changed immediately.
>The default library compared C std sucks.
Objectively false. The Ada standard library is monolithic to a fault. What exactly do you claim is even missing?
Anonymous No.106409092
>>106409028
Just to highlight what a malicious liar you are.
>Completely bare bones,
https://en.wikipedia.org/wiki/C_standard_library
>Ada’s language and standard library formally specified.
http://www.ada-auth.org/standards/22rm/html/RM-TOC.html
Anonymous No.106409108
>>106408980
>Programming in Ada 2012 by Barnes
Babe, wakeup. A new Ada book dropped.
Anonymous No.106409528 >>106409553
If you want to shoot missiles at people and kill them; ada is the language for you.
Anonymous No.106409553
>>106409528
Ada in the missile, Haskell for the launch controller.
https://stackoverflow.com/questions/2773004/what-is-the-origin-of-launch-the-missiles
Anonymous No.106409819 >>106410804
>>106408099 (OP)
I like the idea of Ada SPARK. Everything else, not so much.
Anonymous No.106410244
>>106408099 (OP)
I'm forced to learn this at a course in Uni, no idea why. Only fucking coding we will do besides matlab.
Anonymous No.106410266 >>106410421
>>106408099 (OP)
>Is it worth learning a programming language named after a woman?
what are you a moron?
Anonymous No.106410421
>>106410266
At least she was a woman, you never will be.
Anonymous No.106410672
>>106408099 (OP)
You will learn way more about programming from Ada than any LISP/FP/.
In terms of use it's a bit tedious for certain tasks like managing C pointers, but it's perfect for OS and microcontroller projects where you don't have to deal with that.
And, of course, for anything that *must* work correctly, it is still the golden standard. Learning Ada (SPARK/2012/2022) will show you what a joke Rust/Zig/memelang "safety" is.
Anonymous No.106410687
>>106408099 (OP)
>The government loves Ada
>Write in C, oh write in C
https://youtube.com/watch?v=1S1fISh-pag
Anonymous No.106410722
>>106408099 (OP)
this is /g/ why are you talking about a supermarket
Anonymous No.106410742
>>106408099 (OP)
Occasionally use it since the early 2000s. It's a nice language, very productive, and SPARK is great, but it's so niche. And all the community's attempts to break out of it failed miserably. Unfortunately.
Anonymous No.106410804
>>106409819
spark is too much
Anonymous No.106411622 >>106411762
If you want to shoot missiles at people and kill them; ada is the language for you.
Anonymous No.106411630
KILL PEOPLE
Anonymous No.106411639 >>106411762
If you want to shoot missiles at people and kill them; ada is the language for you
Anonymous No.106411645
SLAUGHTER PEOPLE
Anonymous No.106411737 >>106411762
If you want to shoot missiles at people and kill them; ada is the language for you. _
Anonymous No.106411762 >>106411831 >>106411876 >>106413317
>>106411622
>>106411639
>>106411737
I wish I was getting paid to write code for missiles
Anonymous No.106411831
>>106411762
Russkies like C: (like the girl shown in this picture (she is russian))
> зa дyшy взялo, aж пpocлeзилcя
> it touched my soul, I even cried
> ( https://www.youtube.com/watch?v=XHosLhPEN3k 3rd comment under "show newest")

They do not like ADA because it is in the missiles that will kill them.
Anonymous No.106411876 >>106412441
>>106411762
You could program in QuakeC to get the gist of missile programming. It's all vector programming, which is in the vicinity (though not quite exactly there) regarding weapon system programming.

Nexuiz/Xonoitc, for instance, has routines for predicting the path of enemies and, by input of initial velocity, determining the angle and detriment the projectile is to be fired at.

Could be directly used for automated systems with some middleware that provides the needed information to the system.

I know you'll laugh, or someone will come in and laugh, but the math is the math and it helps you to get used to working with vectors, and what you'll need to do for the real thing.

Think of it as a military contractor programmer simulation. Like the "lets drive a truck for 96 hours" game germans use.

It also has cryptographic programming in it; for no particular reason. Another thing you'll bump into in military contracting once in awhile (though you'll be using different algorithms)
Anonymous No.106412411
>>106408910
C++ the accidental superpower.
Anonymous No.106412441
>>106411876
Hey brah, your last thread got delted.
Anonymous No.106412656 >>106412961 >>106413042 >>106413548
>>106408971
>The jobs for Ada are dying
Yes but 90% of its dying happened long ago. It's basically in hospice now. To the extent it still lives, it's mostly in niches like aerospace.
What would it take for Ada to gain wider acceptance? Tooling is a big one. For the longest time the ecosystem was difficult for anyone who wasn't either at university or working for an aerospace company/military contractor to get into. I believe that's changed somewhat but not enough. It also needs a niche that appeals to the more casual developer. Part of the reason why C# is big in gaming is due to Unity. Ada needs something similar, in both terms of a popular niche and a widely available tool.
Anonymous No.106412714
>>106408099 (OP)
No
There is no jobs, no libraries, no usecases.
Anonymous No.106412961
>>106412656
I like the pascal influence on Ada, but it really needs to lose the begin/end.
Anonymous No.106413042 >>106414088
>>106412656
>Ada needs something similar, in both terms of a popular niche and a widely available tool.

Languages are not islands.
Anonymous No.106413317 >>106413711 >>106414286
>>106411762
I am (almost). I write code for fighter jets, we use both Ada and C++, and Python for scripting. AMA.
Anonymous No.106413548 >>106414071
>>106412656
>What would it take for Ada to gain wider acceptance?
Move the bloat from language features to library features
Make functional programming possible
Replace countless keywords with C style symbols
Make dynamic memory management safe using lifetimes or so
Add thread safety guarantees via whatever means
Add good, cross platform build and dependency system
More libraries, libraries, libraries
Anonymous No.106413711 >>106414268
>>106413317
>AMA
Who is your daddy and what does he do?
Anonymous No.106414071 >>106414177
>>106413548
>Replace countless keywords with C style symbols
|\|();
>dynamic memory management
Can't use that on airplanes
Anonymous No.106414088
>>106413042
In the case of Ada, it pretty much is. Unless it flies through the air, it doesn't use Ada.
Anonymous No.106414177
>>106414071
>Can't use that on airplanes
Then keep it on airplanes only. It doesn't have to be useful for general programming.
Anonymous No.106414248
>>106408099 (OP)
No, but C++ is.
Anonymous No.106414268 >>106414291
>>106413711
(((Wallenberg))) is my daddy. He owns like half the country.
And fuck off with your implication for using "AMA" as a term.
Anonymous No.106414286 >>106414318
>>106413317
>Fighter jet
>Python
Please say you're lying.
Anonymous No.106414291 >>106414318
>>106414268
SAAB-broder?
Anonymous No.106414318
>>106414286
Not in the actual plane, no. For scripting, simulating and testing.

>>106414291
Jajemen
Anonymous No.106414625 >>106415538
Ada missed the opportunity to expand into the automotive sector when vehicles started getting all manner of sensors and automation. That would have been a huge market.
Anonymous No.106415109 >>106415277
I wish Ada support was genuine and not just the contrarian reaction to Rust. Any time I try to talk to these supporters of Ada, it's obvious they don't know a thing about it or programming in general.

I've written some programs in Ada, ported projects from Rust and C. Way too verbose, no ecosystem, and not meant for general purpose programming. Having a bunch of bad ideas tacked on like OOP doesn't help either.
Anonymous No.106415277 >>106415424
>>106415109
You wish there was genuine support for Ada but you also think it's a shitty language? Can you try to make your stream of consciousness at least make a tiny bit of sense.
Anonymous No.106415292
>>106408099 (OP)
>Is it worth learning?

3x Better than Rust so 3x worthier to learn that Rust.

Results of the calculation:

3 * 0.0 = 0.0

0.0 worth to learn
Anonymous No.106415423
Ada Lovelace blew her fortune on the horses just like her daddy.
Anonymous No.106415424 >>106415639
>>106415277
This is exactly what I mean by the pathetic astroturfing that doesn't work anywhere but the dregs of anonymous message boards. I didn't say anything contradictory. You are no doubt engaging in bad faith by putting words in my mouth that I didn't say (I never called it shitty).

I'm interested in topics around safety and programming correctness. I want to talk to people about PL concepts present in Ada and newer languages, I wish more languages had features in Ada.
Anonymous No.106415538
>>106414625
The (much lesser) billionaire of Green Hills was feuding with Elon Musk about this issue. Naturally he was pitching his product, published claims about how unsafe Elon’s products were because they didn’t use a safe language.
Anonymous No.106415639
>>106415424
Not that anon, but you claimed OOP was just a bad idea “tacked on”, yet it is actually cleaner than C++ in practice. OOP is also a mainstay of general purpose programming. Also what does “ecosystem” actually mean to you?

Did you take a look at other features like Tasks?