Live data from Hacker News

Porting SBCL to the Nintendo Switch

reader.tymoon.eu

81–84 of 84 posts

Re: Porting SBCL to the Nintendo Switch

#81
post #79
post #77

Earlier quoted context omitted.

Thanks for the clarification on the meaning of "literal" in Common Lisp, I'll try to keep that in mind in the future. My meaning was more in the sense of literals being some textual equivalent representation for a value. Whether or not computation behind the scenes happens at some particular time (read/compile/run) isn't too relevant. For example in Python, one could write: a = list() a.append(1) a.append(2) a.append…

> Whether or not computation behind the scenes happens at some particular time (read/compile/run) isn't too relevant. Actually it is relevant: is the object mutable? Are new objects created? What optimizations can a compiler do? Is it an object which is a part of the source code? If we allow [1, 2, (+ 1 a)] in a function as a list notation, then we have two choices: 1) every invocation of [1, 2, (+ 1 a)] returns a ne…

Yeah, again I meant irrelevant to those who share such a broader ("dynamic" is a fun turn of phrase) definition of "literal" as I was using, it's very relevant to CL. I thought of mentioning the CL undefined behavior around modification you brought up explicitly in the first comment as yet another reason I try to avoid using #() and quoted lists, but it seemed like too much of an aside in an already long aside. ;) But while in aside-mode, this behavior I really think is quite a bad kludge of the language, and possibly the best thing Clojure got right was its insistence on non-place-oriented values. But it is what it is.

Bringing up C is useful because I know a similar "literal" syntax has existed since C99 for structs, and is one of the footguns available to bring up if people start forgetting that C is not a subset of C++. Looks like they call it "compound literals": https://en.cppreference.com/w/c/language/compound_literal (And of course you can type expressions like y=1+4 that result in the struct having y=5.) And it also notes about possible string literal sharing. One of the best things Java got right was making strings immutable...

Re: Porting SBCL to the Nintendo Switch

#84
post #70
post #56

Earlier quoted context omitted.

Trey can ban the Switch, but offline games will continue to work. Also the account doesn't get banned, so you can buy a new one. (Speaking from experience, unfortunately) You can still play the new Zelda, just can't play Splatoon, Mario Kart, or Smash online then on the banned Switch. It's possible but arduous to rescue the saves off the banned Switch if you have access to a second modded Switch that is not banned (a…

> we're stuck with a "tethered jailbreak" Modchipping makes things permanent, although the soldering isn't for the faint of heart.

I was under the impression the modchips were only for non-launch Switches that didn't have the old exploit available and that they were basically doing the same thing. How do they work differently?
Post reply on HN