Live data from Hacker News

The Rune Programming Language

github.com

91–100 of 203 posts

Re: The Rune Programming Language

#91

Earlier quoted context omitted.

I mean, this would be relatively easy to implement in any language that have operator overloading.

How do you operator overload in C++ so that calling computeHmac(secret(string)) returns secret(string)?

Define the computeHmac method to return a secret(string) type?

Then define the equals operator for "secret" to behave in the needed way.

Re: The Rune Programming Language

#92
Quite underwhelming. The two main features seem to be constant time operations on values wrapped with Secret, and easy SoA layouts.

The former is trivial to implement in Rust and C++, the latter is a bit more complicated, but also implementable in both via macros, in a reasonably ergonomic way.

What is the advantage then?

Re: The Rune Programming Language

#94

Implicit nullability of all values, a very dubious design decision in a new language.

Given that they mention SQL more than other things, and stress SoA and memory intensive applications, I think this makes more sense than it would otherwise

SQL null is not like the null of programming languages, it behaves more like "unknown" than "blank". For instance, null != null. Arithmetic on null values is also well-defined so that 1 + null = null.

I'm not convinced that implicit nullability is a good idea, either in SQL or in newly designed languages.

I don't see the connection between implicit nullability and SoA. If you have a link to some example, that would be interesting to read.

Re: The Rune Programming Language

#95
post #5

Earlier quoted context omitted.

The code is owned by Google because it was written by a Google employee on the job.

Or off the job -- Google claims ownership either way. https://news.ycombinator.com/item?id=1969979

IIUC you can request exception and have your own personal projects, you're just supposed to be transparent about it. Your request will be rejected if it completes with Google business (like if you're making a new collaborative email and docs solution), but otherwise I've not heard any sob stories.

Re: The Rune Programming Language

#96
post #61
post #28

Earlier quoted context omitted.

Ah, so they're repeat offenders. How's it go again? Cache invalidation, naming tconcurrencyhings, , and off-by-one errors?

Google: - leader in AI and text generation - unable to find or create original names for langs

Nah they're doing just fine. I was googling alien porn and I landed here

Re: The Rune Programming Language

#97

Can someone explain how this works: "Assume the attacker can tell how long it takes for mac == computedMac to run. If the first byte of an attacker-chosen mac is wrong for the attacker-chosen message, the loop terminates after just one comparison. With 256 attempts, the attacker can find the first byte of the expected MAC for the attacker-controlled message. Repeating this process, the attacker can forge an entire MA…

with secrets the timing safe stdlib variants are used, without, the fast ones.

timing safe means always using the full loop and not branching away on certain values. every value needs the same time.

Re: The Rune Programming Language

#99
post #9

There already exists Rune programming language and that one was earlier: https://rune-rs.github.io/ They should be more careful picking the name.

The original title I submitted had the proper name for it. "ᚣ The Rune Programming Language"

Re: The Rune Programming Language

#100

Earlier quoted context omitted.

There already was a GO programming language before Google decided to use the name, too.

That doesn't justify them choosing an already chosen name now, does it?

Rune (the existing language) is a fairly small hobby project that only got started in 2020. The developer of this new Rune probably just didn't know about it.

There is nothing nefarious here. There is no cabal. These things happen all the time. I've had it happen to two of my own small/obscure projects. It happens.

Post reply on HN