Hacker News Comments on
Josh Triplett - Porting Python to run without an OS - PyCon 2015
PyCon 2015
·
Youtube
·
8
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this video.Ah yes, I see. Something like this has been done with Python. It was surprisingly difficult, I thought.Python without an operating system https://news.ycombinator.com/item?id=9453677
Porting Python to run without an OS https://www.youtube.com/watch?v=bYQ_lq5dcvM
> BTW, i recall Intel showing off a variant of the python interpreter being run directly from GRUB.That was me: https://biosbits.org/ , presented at Pycon 2015: https://www.youtube.com/watch?v=bYQ_lq5dcvM and 2016 with networking: https://www.youtube.com/watch?v=AlkKvetGFSk
> Also, i think there was someone working on a Python CLI that could replace bash etc.
That was "xonsh" (http://xonsh.org/ , pronounced "conch"), by Anthony Scopatz, presented at PyCon 2016: https://www.youtube.com/watch?v=uaje5I22kgE
Yeah, we wrote BITS almost entirely for practical reasons. Several groups at Intel use it to test both the BIOS and the CPU itself. (You have to have enough functionality to boot an OS, but once you have that, BITS can easily test things like CPU power management or MSR configuration.)The module that displays presentation slides using EFI_GRAPHICS_OUTPUT_PROTOCOL, on the other hand, was definitely "because we could". https://www.youtube.com/watch?v=bYQ_lq5dcvM#t=22m56s
Yes: https://www.youtube.com/watch?v=AlkKvetGFSkThe first few minutes of the talk got cut off; the conference organizers have the original footage and plan to re-cut and re-upload it at some point.
The talk from PyCon 2015 on the Python port itself is available as well: https://www.youtube.com/watch?v=bYQ_lq5dcvM
⬐ vanderZwanHuh, I loaded all the way back to Pycon 2015 videos CTRL+F "Josh" or "Triplett" didn't find anything on my laptop. StrangeAnyway, thanks for the links!
Also relevant: http://openmirage.org
⬐ MCRedMirage supports Ocaml the video shows people making Python Unikernels.This slide deck supports Elixir and Erlang languages.
(just adding details for people)
Take a look at the video: https://www.youtube.com/watch?v=bYQ_lq5dcvM&t=26m15sWe have direct access to video memory in graphics mode. Have fun.
The presentation itself is on youtube[1], I'm glad I watched it, because I missed this sentence when reading the article at first:>The presentation and demos were all done in the BITS environment, so, in reality, the whole presentation was a demo, he said to a round of applause
Pretty impressive!
⬐ JoshTriplettThanks! That was definitely the most fun part of giving the talk; several people told me afterward that that was the point where the stuff I'd been talking about suddenly became real (accompanied by various degrees of "wat"), because it wasn't just talking to some abstract "hardware and firmware", it was drawing on the screen, and that made it real. And then following that up with Python-generated fractals really got people thinking about the old PEEK and POKE days.My first programming environment was C under DOS, where you could create a pointer to video memory at 0xA0000000 or 0xC0000000 and start scribbling on the screen. I learned from a book ( http://smile.amazon.com/Microsoft-C-Programming-Robert-Lafor... ) which had an appendix showing how to draw the Mandelbrot set directly to video memory, so this was really nostalgic for me.
the talk in question - https://www.youtube.com/watch?v=bYQ_lq5dcvM