HNHacker News
TopNewBestAskShowJobs

Lucretia9

114 karma · joined May 18, 2017

https://github.com/Lucretia/
submissionscomments
Lucretia9··on The state of Rust trying to catch up with Ada [video]
That's why Toyota moved to Ada, because their C or C++ software caused crashes.
Lucretia9··on The state of Rust trying to catch up with Ada [video]
Pattern matching is in all functional languages, afaik.
Lucretia9··on The state of Rust trying to catch up with Ada [video]
Ada has ranges and subtypes.

  type Angles is 0 .. 360;
  subtype Acute_Angles is range Angles'First .. 90;
Subtypes can be used with the parent type without conversions.

Pascal only has subranges, iirc.

Lucretia9··on The state of Rust trying to catch up with Ada [video]
c is the new BASIC.
Lucretia9··on The state of Rust trying to catch up with Ada [video]
FYI, re the ranges in rust, you can do a range minus 10 in Ada, I use it in my SDL2 bindings.
Lucretia9··on The state of Rust trying to catch up with Ada [video]
If the price is not on the website, you can't afford it.
Lucretia9··on The state of Rust trying to catch up with Ada [video]
Your first point cancels out your fourth.
Lucretia9··on Ada's dependent types, and its types as a whole
Ada has the concept of Pools, the heap is one of the pools, you can define your own.
Lucretia9··on Ada's dependent types, and its types as a whole
Pretty sure Java in vscode and android studio places block names after }'s because it's hard to read otherwise.
Lucretia9··on Ada's dependent types, and its types as a whole
You talk about C and C++ yet call Ada "ancient," C from 1969 and C++ from 1979.

Whereas Ada's first version is from 1980 and first standardised version (different to 1980) in 1983. Yeah, "ancient."

Lucretia9··on Ada's dependent types, and its types as a whole
GetIntoGamedev is not old, he's in his 20's. The issue is, is that people are not prepared to trying something if it doesn't look like C or C++.
Lucretia9··on Ada's dependent types, and its types as a whole
What are the options required to build an android gcc these days?
Lucretia9··on Show HN: Getada: rustup-like installer for Ada's toolchain/package manager
Look at the "Linking" section https://github.com/ada-game-framework/sdlada

I'm looking into getting it all automated through pragma's and gpr's.

Lucretia9··on Show HN: Getada: rustup-like installer for Ada's toolchain/package manager
Alire is a frontend to the toolchain, including gprbuild, it just handles grabbing the projects as well.
Lucretia9··on The black market in GitHub stars
An Ada image with zero use of Ada.
Lucretia9··on COBOL on Wheelchair: Micro web-framework for COBOL
Don't know why you think that, I learnt some COBOL using microfocus' compiler on a pc at college, it was fine.
Lucretia9··on Amiga Systems Programming in 2023
Put in a pistorm and the new roms.
Lucretia9··on Amiga Systems Programming in 2023
The books are all available now, archive.org and other places including this one which is also hosting the wip RKM https://www.retro-commodore.eu/rkrm-wip.
Lucretia9··on Amiga Systems Programming in 2023
Use AmigaE, far nicer than C. Never tried Chris Handley's "Portabl E" compiler.
Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
Yeah, I remember seeing that years ago, shame it's not open and only win/mac.
Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
I didn't say it was.

https://blog.adacore.com/a-modern-syntax-for-ada

Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
The joke was on AdaCore's website.
Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
Maybe a bit like this? https://github.com/Lucretia/orenda/blob/master/samples/modul...
Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
You can use any version of gnat to build this - https://github.com/Lucretia/sdlada
Lucretia9··on AdaCore and Ferrous Systems Joining Forces to Support Rust
> That is exactly the barrier Ada needs to overcome

No, this is the barrier people need to overcome. Readable is good.

Lucretia9··on Ada implementation of an X Window System Server (1989)
The thing about this would be that it likely still compile with zero changes, if the source were available.

The code could easily be converted to later Ada versions and use C.Pointers where necessary (triple pointers), but void * are easy enough to handle now with an access to null record with convention => C.

Lucretia9··on Clearing up Myths about Ada
He was complaining of no destructors in Ada, when there are.
Lucretia9··on Clearing up Myths about Ada
It was designed by Jean Ichniah and his team, but he was the main designer.

You don't have to use the entirety of the language, you can use pragma Restrictions to get the compiler to ensure you don't use certain features. Some features don't even work for really tiny devices. Even tasking can be done one small systems, like a Z80, for example.

Lucretia9··on Clearing up Myths about Ada
That is still a major problem. I helped a guy get fsf gnat running on yocto for his startup, they didn't use Ada in the end though.
Lucretia9··on Clearing up Myths about Ada
> but it's rare that I get to talk about this language

comp.lang.ada, reddit.com/r/ada, irc, gitter, telegram, etc.

> A, B, C, E, H, and J are variables. F is an array. D, G, and I are functions.

That was by design, because when it was designed, ide's like we have now didn't exist so being able to change a variable to an array from a function or vice versa was made easier. There is another reason and that mathematically an array is a function.

Page 1 of 3Next →