Комментарии:
you might want to use mg (MicroGnuEmacs) if that works on windows? I don't know, maybe.
ОтветитьI'd like to know if function overloading works with named parameters, and default arguments.
ie:
baz :: (a: u16 = 4, b: u64) {}
baz:: (a: string = "hey", b: u64 {}
Where you could call:
baz( b: 54)
One could argue, that this is the programmer being an idiot, but does the compiler detect that and call the programmer out on it?
hopefully these'll be more frequent once the witness is out.
ОтветитьI've got a couple of questions if that's okay:
When does a `defer`ed statement get called? End of scope (i.e. D) or end of function (i.e. Go)?
As there is function overloading, will there be operator overloading or is not needed?
Can you convert strings to codepoint arrays and vice versa?
What # declarations are there so far? Will you be able to add your own or is it even needed?
How is the galaga game? Is there a bonus level?
I am very much looking forward to actually trying the language :) goodbye c++
ОтветитьHello Jonathan,
I was wondering if you had given any though to push/pass semantic on function calls. I sent an email a while back and was interested if you thought the functionality was worthwhile to implement/experiment on.
Are you still compiling to C ?
Ответитьi wonder if your ever in contact, with other great programmers like carmac, gabe, sid myers, you know game programmers, or even linus, people who would start using your programming language? Or give you any ideas or advice, on what a programming language is missing?
ОтветитьJonathan Blow I must have missed something, but I do not get why the .. operator includes the last element ? I feel like it is a bit error prone, and a bit more verbose (since you might have to call for 0..N-1 everytime)
Thanks !
wohoo, I've been waiting for 2 months!
Ответитьclosures not important? :( I was hoping we would get rid of that dreaded "data" arg on all callbacks.
ОтветитьWhat are some of the scenarios where you would not want bounds-checking in a debug build?
ОтветитьJust wondering, eventually will it be possible to convert C++ code into JAI?
ОтветитьI'm very excited about this project. Can't wait to try it.
I'm an experienced, albeit self-taught C# developer and I've always wanted to use a language that's "closer to the metal", but I really dislike C/C++. A lot of the things you've implemented in the language are similar to what's already in C#, so I find it very easy to follow what you're trying to accomplish. A few questions:
1) I don't recall you mentioning the name of this language in the videos, so forgive me if this was already answered. Is it going to be called "Jai"? If so, how did you come up with that name?
2) Do you feel that this language would be good as a starter language to learn for new programmers?
3) I discovered these videos after I started watching the HandMade Hero videos and reading about the Handmade movement. Have you thought about porting Handmade Hero to this language? I think it would be an interesting project to test the language.
Does anyone know which font he's using? I mean the font in emacs!
ОтветитьOkay, so I have ZERO experience with this kind of stuff, so, to me, you're talking alien language in these videos... but that doesn't mean I don't appreciate what you're doing here. I mean, one of the most incredible game developers out there donating so much of his time to teach people? That's SO awesome! I admire you quite a lot, sir. Can't wait for The Witness and greetings from Brazil :)
ОтветитьWhat happens if you have a struct that has two using statements both referring to the same struct. So as an example you have some struct Point then you have another struct that is "using" two times Point for "start" and "end", lets call this struct Direction. What happens when you pass Direction to a function that has overload for Point. Similarly what happens if you have a struct A that is using Point "x" and a struct B that's also using Point as "y" but also using A as substruct. Does passing B to a function that has a overload for point, does it error out or try to use Point y from B and ignores A has a point.
ОтветитьWow! Your work-in-progress compiler uses custom error messages for some features that are not implemented yet (eg math in compile-time constant declarations)? If everyone cared that much about maximizing the helpfulness of error messages, the world would probably be a happier place. Keep up great work!
Ответитьloving those here strings
ОтветитьDo other languages support function overloading across scope boundaries? I didn't even know that was a thing. I suppose if you have functions that aren't a method of a class, and you have nested scopes in which they can reside, then obviously the possibility exists, I guess. It definitely seems like choosing the most local overload that fits is by far the most obvious and intuitive way to handle it. Defining function overloads across module boundaries!? Which may be loaded at run time!? Lol, jeepers. Hmm. Can you just bind to whatever makes the most sense at the time? And then let the programmer sort it out, lol. Just give them enough information to be able to tell what happened, which it seems like you already do. I guess that would leave things in kind of an unpredictable spot, though. Well, I guess by now, this has long since been dealt with. I'll be curious to find out how..
ОтветитьHow is there literally nothing usable in C++!
Ответить