Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
James_K
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
571.
▲
by
James_K
2y ago
They just used a common word that was vaguely applicable to an almost entirely unrelated abstract system of object lifetime verification. Ownership has basically the same semantics as C++'s destructors and moves, just enforced statical
572.
▲
by
James_K
2y ago
> Attacking the author as a means to dismiss the language is lame If this is your view, then my comment was not intended for you. > If you want to criticize the philosophy of the language that's great. I did not want to do that.
573.
▲
by
James_K
2y ago
> Literally every single HN post ever could have someone reply with “this person said an unrelated bad thing and therefore should be ignored”. This is a deep mischaracterisation of my perspective. It is not that has said a singular unrel
574.
▲
by
James_K
2y ago
If you've reached that conclusion from my comments, fair enough. But I would suggest the difference between what I do and what you do is that I genuinely have listened to and had conversations with the creator of Odin, and I have concl
575.
▲
by
James_K
2y ago
> I didn't wish to continue that conversation Then why did you continue the conversation? I'm not forcing you to make snide jabs at me in a public space, and you can hardly blame me for responding to them. > it would take fa
576.
▲
by
James_K
2y ago
My time on this Earth is sadly finite. In light of this, I cannot learn every language. I must employ heuristics to decide whether something is worth doing. One of those for programming languages is: "Do the people who make this seem l
577.
▲
by
James_K
2y ago
> The other guy I was talking to apparently has no idea what it means to deal with an embedded system I would love to see you justify this. Sadly you will not, because I understand it quite well. It's a pretty basic principal that i
578.
▲
by
James_K
2y ago
Neither. You store the code without leading whitespace and then display it with the appropriate indent in the text editor.
579.
▲
by
James_K
2y ago
https://youtu.be/LKNBkSvFcZU
580.
▲
by
James_K
2y ago
His logic was less of a deep introspection and more of a random ramble. The video in question is https://youtu.be/LKNBkSvFcZU It's a reaction video to John Blow reacting to a Rust game-dev talk. He talks about how owne
581.
▲
by
James_K
2y ago
> False premise So "the human mind is a computer" is a false premise, but "a computer must be able to compute 358729358 x 5648759845 in less than 10 ns" isn't? Do you know what a computer is? The human mind has a
582.
▲
by
James_K
2y ago
Now imagine that those other people decide to contribute by "writing" the report that you're going to get graded on, with no understanding of code and not doing it themselves. Imagine that some people who are semi-competent a
583.
▲
by
James_K
2y ago
> It’s not just AI, it’s the internet in general. > My students (7th grade) have a difficult time answering a personal prompt like “Who was the last person you had an argument with? Why did you argue and how did you resolve the argume
584.
▲
by
James_K
2y ago
Anecdotally, no one on my computer science course is doing the work. You could say AI is a learning tool generously, and it does help some people, but it seems to have replaced a lot of their actual abilities to write stuff. Have you really
585.
▲
by
James_K
2y ago
let Sub = λ a b f c.b (\ x.x True) (a (\ cc o.o cc (f (cc False))) (λ o.o c c)) False Subtraction is always fun.
586.
▲
by
James_K
2y ago
> It depends by whom this code was written This is really just a hand-wave. You are saying "maybe there's some difficult to read lisp code out there, so lisp might not always be easier", whereas I am talking about objectiv
587.
▲
by
James_K
2y ago
You misrepresent me here. I never claimed that Forth is uninteresting, just that your code was. The statement I take issue with is that Forth is powerful. In reality, it is useful only because it is not powerful and hence is easier to imple
588.
▲
by
James_K
2y ago
> Also compare how big Forth is against CL I would say a lot of this is because CL has a large standard library, but not much of that is primitive. Even then, I would say the CL standard lacks many things, so it is too small for general
589.
▲
by
James_K
2y ago
> This is like C vs JavaScript. And you'll notice that C isn't a very powerful language. > Does it still look neater when you use the syntax you've defined? No because in CL you would define a with- macro that syntactic
590.
▲
by
James_K
2y ago
> But you can define one if you want Something is harder to read if it takes more effort to read it. Reading code is converting it from the format it is written down in to the tree of invocations in your mind. Forth is more complicated t
591.
▲
by
James_K
2y ago
> you can rebuild with : { ; IMMEDIATE : } IMMEDIATE ; Does the call to DEPTH still work in that case? > But it is just meant to show that Forth is quite succinct and powerful, which it does. How does it show that? You could write a s
592.
▲
by
James_K
2y ago
> Programmable NVIDIA GPUs are very inspiring to hardware geeks, proving that processors with an original, incompatible programming model can become widely used. Got me laughing at the first line.
593.
▲
by
James_K
2y ago
Do they have any compelling reason why "List<T>" isn't just "T List"? That's how they write it in OCaml. Then comma separated lists, are they mad? I much prefer how Uiua does this.
594.
▲
by
James_K
2y ago
Lisp is objectively more readable. Adding parentheses around expressions distinguishes them. Compare the following. a b c d (d (c b) a) The bottom example is objectively more readable. You can determine more about its intended func
595.
▲
by
James_K
2y ago
I don't find that particularly interesting. My entire point was that it has essentially the same semantics as lisp, and this just demonstrates that. Also, I don't know a lot about Forth, but it would seem to be limited to 30 level
596.
▲
by
James_K
2y ago
I've never really got Forth. It's good for sending commands to a printer, but actually programming in it seems like a drag. I get that it's technically the same as lisp code, just backwards without the parens, but adding the
597.
▲
by
James_K
2y ago
Anyone else beat the robot levels by having the robot move towards 10 squares above the player then just leading it around?
598.
▲
by
James_K
2y ago
> What do you mean by baseless? They say "garbage collection is slow" and when I ask how they know, they have no response. > they are likely to be worse than misleading > they become outdated fast, and are hard to draw co
599.
▲
by
James_K
2y ago
> C# instead, both with Unity and many other open or closed source engines, that either host it as a gamescript language or, lately, implemented entirely in it. And this is what confuses me. The opinions of game developers on this seems
600.
▲
by
James_K
2y ago
I have always wondered why people, especially game developers, have such a hatred of GC. As I understand it, GC has a higher throughput than malloc/free. This comes at the cost of pauses, but that is essentially just quantising overhea
More ›