News for hackers. Stuff that matters.
Re:I built a hardware processor that runs Python by rkagerer on Monday April 28, 2025 @12:18PM (#43823128)
Back when C# came out, I thought for sure someone would make a processor that would natively execute .Net bytecode. Glad to see it finally happened for some language.
Re:I built a hardware processor that runs Python by kcb on Monday April 28, 2025 @12:38PM (#43823332)
For Java, this was around for a bit https://en.wikipedia.org/wiki/Jazelle.
Re:I built a hardware processor that runs Python by monocasa on Monday April 28, 2025 @12:49PM (#43823449)
Even better was a complete system rather than a mode for arm processors that ran a subset of the common jvm opcodes.

https://en.wikipedia.org/wiki/PicoJava

Re:I built a hardware processor that runs Python by varispeed on Monday April 28, 2025 @01:15PM (#43823720)
Didn't some phones have hardware Java execution or does my memory fail me?
Re:I built a hardware processor that runs Python by Sesse__ on Monday April 28, 2025 @01:44PM (#43824026)
It's called Jazelle.
Re:I built a hardware processor that runs Python by lodovic on Monday April 28, 2025 @01:54PM (#43824111)
Sun tried to build one too, they called it the JavaChip iirc. It was meant for JavaStations, kiosk machines, and mobile phones but it never took off. https://en.wikipedia.org/wiki/Java_processor
Re:I built a hardware processor that runs Python by f1shy on Tuesday April 29, 2025 @08:55AM (#43831934)
No. There where Motorola phones with Motorola processors with Java Co-Processor. Not Jazelle.
Re:I built a hardware processor that runs Python by f1shy on Tuesday April 29, 2025 @08:56AM (#43831945)
Yes. I known at least one Motorola phone which had a co-processor for Java (not Jazelle)
Re:I built a hardware processor that runs Python by supportengineer on Monday April 28, 2025 @01:26PM (#43823825)
Does anyone remember the JavaOne ring giveaway?

https://news.ycombinator.com/item?id=8598037

Re:I built a hardware processor that runs Python by jiehong on Monday April 28, 2025 @12:20PM (#43823161)
Java got that with smart cards for example. Cute oddities of the past
Re:I built a hardware processor that runs Python by monocasa on Monday April 28, 2025 @12:50PM (#43823460)
JavaCard was just implemented as just a regular interpreter last time I checked.
Re:I built a hardware processor that runs Python by zahlman on Monday April 28, 2025 @01:26PM (#43823837)
In university, for my undergrad thesis, I wanted to do this for a Befunge variant (choosing the character set to simplify instruction decoding). My supervisor insisted on something more practical, though. :(
Re:I built a hardware processor that runs Python by zahlman on Monday April 28, 2025 @04:15PM (#43825613)
I probably should have added a link: https://esolangs.org/wiki/Befunge

The main thing that appealed to me about this idea is that it would require a two-dimensional program counter. As I recall from the original specification, skipping through blank space is supposed to take O(1) time, but I didn't plan on implementing that. I did, however, imagine a machine with 256x256 bytes of memory, where some 80x25 (or 24?) region was reserved as directly memory-mapped to a character display (and protected at boot by surrounding it with jump instructions).

Re:I built a hardware processor that runs Python by ComputerGuru on Monday April 28, 2025 @01:24PM (#43823820)
I want to say there was a product that did this circa 2006-2008 but all I’m finding is the .NET Micro Framework and its modern successor the .NET nano Framework.

I’ve been using .NET since 2001 so maybe I have it confused with something else, but at the same time a lot of the web from that era is just gone, so it’s possible something like this did exist but didn’t gain any traction and is now lost to the ether.

Re:I built a hardware processor that runs Python by rcorrear on Monday April 28, 2025 @01:34PM (#43823924)
Maybe you’re thinking of Singularity OS?
Re:I built a hardware processor that runs Python by duskwuff on Monday April 28, 2025 @05:57PM (#43826573)
There was Netduino, but that was a STM32 microcontroller running an interpreter, not dedicated hardware which directly executed CLR code.
Re:I built a hardware processor that runs Python by john-h-k on Monday April 28, 2025 @02:45PM (#43824610)
The tl;dr (I spent lots of time investigating this) is that it just fundamentally isn’t a good bytecode for execution. It’s designed to be small on disk, not hardware friendly
Re:I built a hardware processor that runs Python by whoomp12342 on Monday April 28, 2025 @12:29PM (#43823253)
I'd be surprised if azure app services didn't do this already.
Re:I built a hardware processor that runs Python by john-h-k on Monday April 28, 2025 @12:41PM (#43823365)
I’d be willing to bet my net worth that they don’t
Re:I built a hardware processor that runs Python by whoomp12342 on Monday April 28, 2025 @03:35PM (#43825134)
then why does azure app services have you pick the .net version?!
Re:I built a hardware processor that runs Python by john-h-k on Monday April 28, 2025 @04:36PM (#43825821)
I can't tell if this is joke but will assume not. It's because the .net version is needed for some reason. There are not processors that run .net bytecode, primarily because they would be slower and worse (and again, don't exist)
Re:I built a hardware processor that runs Python by actionfromafar on Monday April 28, 2025 @12:36PM (#43823321)
Wouldn't that be a real scoop?
Re:I built a hardware processor that runs Python by bongodongobob on Monday April 28, 2025 @01:08PM (#43823651)
Azure runs on Linux if I'm not mistaken.
Re:I built a hardware processor that runs Python by ggiesen on Monday April 28, 2025 @09:13PM (#43827809)
Nope.
Re:I built a hardware processor that runs Python by bongodongobob on Monday April 28, 2025 @11:17PM (#43828415)
Can you tell me how I'm misunderstanding this?

https://en.m.wikipedia.org/wiki/Azure_Linux?utm_source=chatg...