1,518 karma · joined Aug 28, 2017 (9y ago) · 989 submissions
comment 1y ago · link · parent
On top of that, true general intelligence requires a capacity for unbounded growth. The human brain can't do that. Humanity as a civilization can technically do it, but we don't know if that's the only requirement for general intelligence.
Meanwhile, there is plenty of evidence to the contrary. Both as individuals and as a global civilization we keep running into limitations that we can't overcome. As an individual, I will never understand quantum mechanics no matter how hard I try. As a global civilization, we seem unable to organize in a way that isn't self-destructive. As a result we keep making known problems worse (e.g. climate change) or maintaining a potential for destruction (e.g. nuclear weapons). And that's only the problems that we can see and conceptualize!
I don't think true general intelligence is really a thing.
comment 1y ago · link · parent
Despite, I have not retained fluency in it. By 8th grade I'd stopped using it and then fell out of practice.
comment 1y ago · link · parent
For the record, I didn't say Java doesn't have those. The only thing I said it doesn't have is value types (and in another post, true generics). I'm aware that it has a couple features where C# is the one that's lagging behind, but on the whole, it's really no competition. I'm also aware that stuffing a language full of features willy-nilly is unwise and I'm curious where this will take C#.
comment 1y ago · link · parent
comment 1y ago · link · parent
The only alternative is to have the data in a separate file, which needs to be available, read in, and parsed. .NET/CLR provides a mechanism to bake large objects into the assembly and I don't see that as abusive. It's way more convenient when you can treat the object as being “just there”.
comment 1y ago · link · parent
Having separate types for these is the problem; not the boxing. C#/IL/CLR handles boxing in a way that doesn't exhibit the problem. If your code is dealing with integers, they are never boxed. They are only boxed when you cast to a reference type such as object. As soon as you cast back to int, you are unboxing.
Java exhibits the problem in a big way because it doesn't have true generics, so you can't have (say) a list of integers or a dictionary with integer values, so they must always be boxed, so you need a separate “boxed integer” type to maintain type safety. In C# you can just use unboxed integers everywhere.
comment 1y ago · link · parent
He also praises async/await as a revolutionary leap forward for programming languages, but without a mention of the language that invented/pioneered it (that's right, it's C#, in version 5).
Now, I'm not going to sit here and claim that C# is perfect for all purposes. It has made mistakes which have to live on due to backwards compatibility. The mutability of structs is, in my opinion, one such mistake. But even so, of all programming languages I've seen, C# fits this author’s ideas like hand in glove.
Edit: the scenario he describes of putting a large array or other static data structure directly into the code is also better supported by modern C# compilers. For small structures you still get the element-by-element-adding bytecode, but there's also a serialization format that can bake large objects directly into the assembly.
comment 1y ago · link · parent
I believe I understand where the designer is coming from. Traditional languages use a 1D syntax to express a structure that is really not 1D (the parse tree). However, I don't think it's really 2D either. If you think about how an interpreter would have to proceed to execute Recto code, it would still parse it into an internal representation and then execute that, and this internal representation no longer uses the 2D layout of the code.
I'm not implying that it's a bad idea or anything. To the contrary, I think Recto is a cool idea. I'm just skeptical that simply making a language syntax two-dimensional automatically makes it easier to understand, code in, collaborate in, or implement a parser/interpreter/compiler for.
comment 1y ago · link · parent
The desire to help is absolutely laudable, and I wish it were easier for volunteers to get permission to go and do it, but to go on an Internet forum to wrongly claim that it's already allowed is irresponsible.
comment 1y ago · link · parent
I am not a Rust evangelist. I've never written any code in it and barely know its features on a theoretical level.
I have also not dissed on anyone's decision to use C++. Everyone please use what you like and are comfortable with! I am not imposing any choice on anyone. I simply described my own personal experience with C++ and my own reasons for staying away from it.