Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Builtins implemented in x86_64 ASM

Reimplements some parts of the Python's builtins but in ASM. Currently supports:

  • builtins.print, which calls sys_write syscall with x86_64 ASM directly from C

Why? Because I am bored. I created this just for fun for a video in my the-best-python-course.

Please, don't use this!

Usage

>>> import asm_builtins

>>> asm_builtins.print("hello", "world")
"hello world"

😱

Install

Clone this locally, cd into this folder and then:

pip install .

License

WTFPL