Live data from Hacker News

What if Python was natively distributable?

medium.com

41–50 of 66 posts

Re: What if Python was natively distributable?

#41
post #9

Every time I see something like this (turn function calls into a network call), I reflect fondly on the list of fallacies in distributed computing [0]. These are issues that largely have to be handled in an application-specific way, and cannot be solved in the general case. This list alone has saved me many late debugging nights, just by not making or using systems that ignore the list. [0]: https://en.wikipedia.org/…

I agree

Re: What if Python was natively distributable?

#43

I ask this question, but instead: I ask it of Lua. As in, what if there was a Linux distro that focused, primarily, on building a Lua layer on top of everything, system-wise. Just replace all the standard stuff with one single, system-friendly language: Lua. C/C++ everything as it currently is: put Lua on top all the way to the Desktop. It’s only a thought experiment, except there are cases where I can see a way to u…

Wouldn't you face the same problem as Dotnet on Windows? AFAIK, dotnet based frameworks and apps suffered from huge performance issues. It might have improved in recent times, I am not actually a windows dev. If just the end user application is in Lua, then maybe it's fine and the high level language slowdown won't matter. If you want to wrap the low level kernel APIs etc in a high level language as the canonical int…

Dotnet is pretty fast these days. It has a lot more low level control than something like Java, with value types and manual memory management available (it invented the unsafe{} blocks Rust is famous for).

MS even had a prototype version of Windows where the entire OS from the kernel up was managed code (a little excessive, IMO).

Dotnet GUI apps failed on Windows mostly because their UI toolkits are a mess and Electron won the cross platform war. I avoid this stack like the plague, but I write a lot of web backends in C#/ASP.NET (on Linux deploying to k8s) and it's great!

Re: What if Python was natively distributable?

#46
post #44

this article comes back 100% ai (for the opening). i will not reveal the tell that made me churn

You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it

> You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it

You could also use your own words instead of an LLM. Would have been more interesting.

Re: What if Python was natively distributable?

#47
post #37

Pah - all these newcomers with interpreted/bytecode languages for remote functions! It's easy to send text or bytecode to another instance of your runtime. I did a distributed system sending native code functions to be executed remotely. Fair enough, it was for academic purposes, but it worked [1]. ------------------------------------- [1] By "worked" I mean got a passing grade on a thesis that got an IMDB number. Pr…

Film studies thesis?

Good Catch :-)

I'm gonna leave that there so that your comment remains funny!

Re: What if Python was natively distributable?

#49
post #44

Earlier quoted context omitted.

You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it

> You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it You could also use your own words instead of an LLM. Would have been more interesting.

I think LLMs are incredible tools that I will continue to use unapologetically, but I’m also very particular and not going to be putting my name to AI slop. Those are my genuine thoughts on the matter, they just happened to be cleaned up by an automated stochastic parrot.

Re: What if Python was natively distributable?

#50
post #23

I ask this question, but instead: I ask it of Lua. As in, what if there was a Linux distro that focused, primarily, on building a Lua layer on top of everything, system-wise. Just replace all the standard stuff with one single, system-friendly language: Lua. C/C++ everything as it currently is: put Lua on top all the way to the Desktop. It’s only a thought experiment, except there are cases where I can see a way to u…

Sounds kind of like Arcan https://arcan-fe.com/about/

That is pretty much what we've done, but not in as "narrow" a scope as just Desktop but more as 'everything user facing in computing'. Full breakdown will be covered later this year as 'Arcan As OS Implementation' in a section on "Lua at every layer".
Post reply on HN