Víctor R. Ruiz
-
Lua is a popular language used in many programs for user scripts. One notable mention in the Unix world is NeoVim, although it's probably even more popular in the game industry. I recently discovered pocketpy, which aims to do the same but with a Python 3 language subset. In the post I just have published in my blog I show how to use pocketpy with C. Hope it's useful!
Python user scripts in C programs with pocketpy https://rvr.typepad.com/wind/2025/03/python-user-scripts-c-pocketpy.html
-
Adding a WiringPi module to TIC-80's Python interpreter https://rvr.typepad.com/wind/2025/03/adding-wiringpi-module-to-tic-80-python-interpreter.html
This is a project that I worked on last weekend. TIC-80 is one of the most popular open source "fantasy consoles", imaginary retro-console emulators with IDE for code, sprites, maps and music. I show how to extend TIC-80's Python interpreter, pocketpy, to add GPIO access for the Raspberry Pi.
Edit: Just uploaded the code to github.
#gamedev #tic80 #python #pocketpy #retrocomputing #raspberrypi
-
Apollo DSKY - part 1: we have a real (and broken) DSKY! - CuriousMarc https://www.youtube.com/watch?v=JB4x6Uy50sY
«Thanks to Marcel, we have a real DSKY in the lab. It has a few issues though...».
-
Understanding Intel - by Austin Lyons - Chipstrat https://www.chipstrat.com/p/understanding-intel
«Although Intel's foundry is not yet on par with leading competitors in terms of fabrication technology, it's leveraging its advanced packaging capabilities to secure early customer wins. […] Finally, IFS gives Intel a sort of strategy credit: it has the geopolitical advantage of being a semiconductor manufacturer based in the USA. Come partner with IFS, we’re US-based!».
-
Raspberry Pi Pico 2 Launches with Arm + Risc V Cores: hands-on with the new, $5 microcontroller | Tom's Hardware https://www.tomshardware.com/raspberry-pi/raspberry-pi-pico/raspberry-pi-pico-2-launches-with-arm-risc-v-cores-hands-on-with-the-new-dollar5-microcontroller
«According to Raspberry Pi, the RISC-V CPU is available via C, but not via MicroPython. We only had a limited amount of time to write this hands-on so we have yet to properly test the Pico SDK with C».
-
Niklaus Wirth, or the Importance of Being Simple | By Bertrand Meyer | blog@CACM https://cacm.acm.org/blogs/blog-cacm/279178-niklaus-wirth-or-the-importance-of-being-simple/fulltextNiklaus
-
Why Polars uses less memory than Pandas. By Itamar Turner-Trauring https://pythonspeed.com/articles/polars-memory-pandas/
«Pandas is a eager API: you tell it to do something, and it immediately does it. […] The alternative is a lazy API that allows you to string together a series of operations—loading, filtering, aggregating, transforming—without actually doing any work. After creating this series of operations, you can then separately tell the library to execute the whole thing».