Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pansa2
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
pansa2
5d ago
This looks like a really thorough examination of async-await i.e. stackless coroutines, but it doesn’t seem to cover Lua-like stackful coroutines. Apologies if it does and I’ve glanced over it - but if it doesn’t, is there another resource
2.
▲
by
pansa2
8d ago
> one should not use LLM services for confidential or proprietary information That’s obvious, isn’t it? Just like you wouldn’t upload your confidential documents to an online spellchecker, or your proprietary code to an online compiler
3.
▲
by
pansa2
10d ago
> did you feel that whitespace for lexical scoping made the job of writing the lexer significantly more complex? Significant indentation requires a more complex lexer because it means the lexical grammar is no longer regular . The lex
4.
▲
by
pansa2
16d ago
HN wouldn’t allow a direct link for some reason. Here it is: https://discuss.python.org/t/pep-805-safe-parallel-python/10...
5.
▲
Guido van Rossum on Parallel Python: "Personally I wish we'd stuck with the GIL"
(discuss.python.org)
3 points
by
pansa2
16d ago
|
1 comments
6.
▲
by
pansa2
28d ago
> almost seems like Go is trying to become some sort of C# or Java Frankenstein The original Go team was trying to avoid this: "Java, JavaScript (ECMAScript), Typescript, C#, C++, Hack (PHP), and more [...] actively borrow feature
7.
▲
by
pansa2
1mo ago
> I feel like that "full superset of Python" part was part of the appeal of Mojo. It absolutely was, but IMO was never going to happen. Python has a reputation as a simple language, but it really isn’t. It’s a very complex
8.
▲
by
pansa2
1mo ago
That’s insane, for a language that seems to be Temu-Python. OTOH Python itself is the world’s most popular programming language, yet has only recently had the money to support more than a single full-time developer.
9.
▲
by
pansa2
1mo ago
I like significant invitation, but I still wouldn’t choose it if I was designing a language today. Functional-style programming has become much more popular since Python was designed in the 1990s, and there doesn’t seem to be a good way t
10.
▲
by
pansa2
1mo ago
> their overall goal is to be a fully native superset of Python Not any more. That was the initial announcement, but I think then somebody actually looked at Python and realised what a complex language it is - so they refocused on be
11.
▲
by
pansa2
2mo ago
Has the conversation that originally led to the counterexample been released? Surely it was similar to this one, also driven by a highly knowledgeable mathematician. No AI would have been able to find it if asked to "Find a counterexam
12.
▲
by
pansa2
2mo ago
I always liked the fact that 10! (10 factorial) is exactly the number of seconds in six weeks. 6 weeks * 7 days * 24 hours * 60 minutes * 60 seconds: 6 * 7 * 24 * 60 * 60 = 6 * 7 * (3 * 8) * (4 * 5 * 3) * (3 * 2 * 10) = 6 * 7 *
13.
▲
by
pansa2
3mo ago
What’s a good small laptop that’ll run a recent Linux distro? I’d like to get one to have an ultra-portable machine for doing lightweight development work - I don’t need much more than a text editor and a C compiler. Would a second-hand 1
14.
▲
by
pansa2
3mo ago
So is LuaJIT resuming active development after a decade or so of only maintenance? Great! A lot of these changes make sense (although some of them are a bit too TIMTOWTDI for my taste) - but perhaps LuaJIT 3 would benefit from a change of n
15.
▲
by
pansa2
3mo ago
Lua is the same IIRC: open source but not open development. It’s MIT licensed, and the maintainers are always grateful for bug reports, but all the code in the project was written by just 3 people.
16.
▲
by
pansa2
4mo ago
> The C interface to ruby is just superb. How does it handle garbage collection? AFAIK GC is the main reason behind Lua's stack-based API: it's designed so that C code never needs to hold a pointer to a Lua object, which mean
17.
▲
by
pansa2
4mo ago
I guess it alludes to “The Dark Side of the Moon”
18.
▲
by
pansa2
4mo ago
Mojo?
19.
▲
by
pansa2
4mo ago
`npm isntall`
20.
▲
by
pansa2
4mo ago
> they intended to make it compatible with existing Python code That was the original claim, but it was quietly removed from the website. (Did they fall for the common “Python is a simple language” misconception?). Now they promise I c
21.
▲
by
pansa2
4mo ago
> New Zealanders are forced to pay a sky high TV licence There’s no TV license in New Zealand
22.
▲
by
pansa2
5mo ago
The PEP for this change is here [0] and discussion of it is here [1]. Both are very long and seem to represent a huge amount of complexity, apparently to make installing Python easier for novices? But what about those of us who listened to
23.
▲
by
pansa2
5mo ago
In a similar vein, see this page about the performance of the interpreter for the dynamic language Wren: https://wren.io/performance.html Unlike the Zef article, which describes implementation techniques, the Wren page also
24.
▲
by
pansa2
6mo ago
Yes, Smalltalk's syntax fits on a postcard - and it's possible to go even more minimal than that, e.g. Lisp or Forth. OTOH Ruby doesn't need a postcard, it needs a full poster.
25.
▲
by
pansa2
6mo ago
> all the encoding/decoding functions default to utf-8 Languages that use UTF-8 natively don't need those functions at all. And the ones in Python aren't trivial - see, for example, `surrogateescape`. As the sibling comm
26.
▲
by
pansa2
6mo ago
> Wouldn't this get the funding back? The funding was Microsoft employing most of the team. They were laid off (or at least, moved onto different projects), apparently because they weren't working on AI.
27.
▲
by
pansa2
6mo ago
The Python devs didn’t want to make huge changes because they were worried Python 3 would end up taking forever like Perl 6. Instead they went to the other extreme and broke everyone’s code for trivial reasons and minimal benefit, which mea
28.
▲
by
pansa2
6mo ago
Maybe they could have two versions of the interpreter, one that’s thread-safe and one that’s optimised for single-threading? Microsoft used to do this for their C runtime library.
29.
▲
by
pansa2
6mo ago
There isn’t a dev mailing list any more, is there? Do you mean the Discord forum?
30.
▲
by
pansa2
6mo ago
>> Python 2->3 transition > taking backwards compatibility so seriously Python’s backward compatibility story still isn’t great compared to things like the Go 1.x compatibility promise, and languages with formal specs like J
More ›