Very interested in trying seeing how it's 'SOA memory management' turns out in practice.
The Rune Programming Language
71–80 of 203 posts
Re: The Rune Programming Language
#72This is an interesting idea for language design: > Users of Rune are protected, because the compiler sees that macSecret is secret, and thus the result of hmacSha256 is secret. The string comparison operator, when either operand is secret, will run in constant time, revealing no timing information to the attacker. Care must still be taken in Rune, but many common mistakes like this are detected by the compiler, and e…
Re: The Rune Programming Language
#73Re: The Rune Programming Language
#74Re: The Rune Programming Language
#75First example seems weak. Any language can use separate data type for secrets and corresponding operator for constant-time comparison. Second example is very neat. Actually I thought about using sqlite with tmpfs database for application state. That could be useful for some kinds of applications. That said, using functional API over traditional data structures seems like a traditional and widely accepted approach. In…
The example doesn't spell this out explicitly, but I think those are the semantics of secret.
Re: The Rune Programming Language
#76There already exists Rune programming language and that one was earlier: https://rune-rs.github.io/ They should be more careful picking the name.
There already was a GO programming language before Google decided to use the name, too.
Perhaps Google as an employer shouldn't allow employees to choose any name they like, and do some diligence to avoid name clashes. This may sound quite reasonable for outsiders, but internally this will be another step that requires manual review in the process of publishing open source code, and employees will see this as red tape and get discouraged from open sourcing their code in the first place.
The benefit of requiring every project to go through a name clash review is also questionable: there are 2.5k repos under https://github.com/google, and most of the them will never become popular enough for name clashes to be a problem anyway. This repo only has 177 stars despite hitting HN homepage.
IMO Google should instead make it easy for people to publish their open source code wherever they like, but I suppose there are some messy legal reasons why they prefer employees to put their repos under https://github.com/google. (It's not a hard requirement, but they do make you jump through extra hoops to open source your code elsewhere.)
(I'm a Google employee, but I didn't know this project and don't work for the department responsible for the process of open sourcing code.)
Re: The Rune Programming Language
#77Implicit nullability of all values, a very dubious design decision in a new language.
Re: The Rune Programming Language
#78Re: The Rune Programming Language
#79This is an interesting idea for language design: > Users of Rune are protected, because the compiler sees that macSecret is secret, and thus the result of hmacSha256 is secret. The string comparison operator, when either operand is secret, will run in constant time, revealing no timing information to the attacker. Care must still be taken in Rune, but many common mistakes like this are detected by the compiler, and e…
I mean, this would be relatively easy to implement in any language that have operator overloading.
Re: The Rune Programming Language
#80There already exists Rune programming language and that one was earlier: https://rune-rs.github.io/ They should be more careful picking the name.
There already was a GO programming language before Google decided to use the name, too.