Live data from Hacker News

My least favorite Rust type

ridiculousfish.com

31–40 of 298 posts

Re: My least favorite Rust type

#31
post #3

I'm only just learning Rust so I don't know much about Rust development, but what are the chances that any of the suggestions listed at the end make it into the language?

The problems with Range are well-understood by now, so I don't think that it would be too much of a stretch to argue that a brand-new type could be added to the stdlib with some variation on the semantics given at the end of the post. However, transitioning the dedicated range syntax to that new type would be the tricky part.

Re: My least favorite Rust type

#32

Earlier quoted context omitted.

Because I can't download a compiler for his language and try out his ideas. I've designed fantasy programming languages, too, but you don't see me telling everyone on the internet that will listen to me about them, dragging other PL designers that have actually released working code through the mud as I do. It's a simple matter of put up or shut up.

I neither know Jonathan Blow, nor understand why he must create a programming language to critique them - is he someone who works on programming languages as his day job, for some time, yet somehow has avoided enforcing his opinions on himself?

He's a video game designer who announced a new programming language called "Jai" in 2014, and no compiler has yet been released for it (but he discusses new language features on his Twitch stream)[1].

[1]: https://en.wikipedia.org/wiki/Jonathan_Blow

Re: My least favorite Rust type

#34

Earlier quoted context omitted.

I don't think it's reasonable to make a comment like this without explaining why. He has designed a programming language, so it seems fair to assume he'd have an understanding of programming language design.

You got a link for the compiler for said programming language?

[deleted]

Re: My least favorite Rust type

#36
post #7

Earlier quoted context omitted.

Just because it has been debated extensively doesn't mean it's not a wart. Having run into the "reverse range does not contain what you obviously expect it to contain" before and wasting a few hours on it, like many other people have and will continue to do in the future, definitely makes me want to call it a wart.

Rust tries to be conservative with its semantics. You can always create your own range type and implement a deref/from for it to convert it to Rust range.

It seems like in this case Rust actually failed to act conservatively in its semantics, by allowing ranges on overly generic types in a way that doesn't make sense.

Re: My least favorite Rust type

#37

Earlier quoted context omitted.

Because I can't download a compiler for his language and try out his ideas. I've designed fantasy programming languages, too, but you don't see me telling everyone on the internet that will listen to me about them, dragging other PL designers that have actually released working code through the mud as I do. It's a simple matter of put up or shut up.

I neither know Jonathan Blow, nor understand why he must create a programming language to critique them - is he someone who works on programming languages as his day job, for some time, yet somehow has avoided enforcing his opinions on himself?

[deleted]

Re: My least favorite Rust type

#38

Earlier quoted context omitted.

Because I can't download a compiler for his language and try out his ideas. I've designed fantasy programming languages, too, but you don't see me telling everyone on the internet that will listen to me about them, dragging other PL designers that have actually released working code through the mud as I do. It's a simple matter of put up or shut up.

I neither know Jonathan Blow, nor understand why he must create a programming language to critique them - is he someone who works on programming languages as his day job, for some time, yet somehow has avoided enforcing his opinions on himself?

It's more the issue that he has one that has worked on in private. He hasn't released a version publicly. Someone earlier in the thread was saying the fact that he has designed a language means he is worth listening to where the counter argument is does it really count if he's never released it and no one really uses it?

Re: My least favorite Rust type

#39

Earlier quoted context omitted.

I don't know anything about Johnathan Blow, so could you explain why you have a hard time taking him seriously about PL design?

Because I can't download a compiler for his language and try out his ideas. I've designed fantasy programming languages, too, but you don't see me telling everyone on the internet that will listen to me about them, dragging other PL designers that have actually released working code through the mud as I do. It's a simple matter of put up or shut up.

He demonstrably has a working compiler and programming language. Calling it a "fantasy" just because he has not given you full access to the source is plain incorrect.

He streams so much of his development work on the compiler that a determined party could probably reproduce it by just copying the text from his text editor. He streams so much of his game development using the compiler that it obviously and unambiguously works - and so long as you know all the idiosyncrasies of the language (a big caveat) works reasonably well.

He has put up, just not in the medium that you would prefer. You have not, so perhaps you should take the second half of your advice.

Re: My least favorite Rust type

#40

Earlier quoted context omitted.

I have watched the streams.

So that's a no, then? You have seen the vaporware, but you do not yet know what it smells like?

Some people got access to the beta https://youtu.be/i1vbvikDiI8

Why do you think it's vaporware?

Post reply on HN