Hacker News new | ask | show | jobs
by smokel 28 days ago
It is a Python thing, in the sense that it is Python-inspired:

> design-wise copy the Python standard library's APIs whenever possible [1]

[1] https://github.com/jpakkane/pystd

2 comments

This is giving the same vibe as Windows Subsystem for Linux[0] - it kinda makes sense once somebody explains it, but is confusing as hell when you first see it

0. https://www.reddit.com/r/bashonubuntuonwindows/comments/t952...

Just like Windows storing 64-bit binaries in System32 dir and 32-bit binaries in SysWOW64 dir kind of makes sense (if you are insane)
Also: You boot from the 'system' volume, and the operating system is stored on the 'boot' volume. (-:

* https://jdebp.uk/FGA/boot-and-system-volumes.html

'Windows subsystem for' actually has a similar sort of logic behind it.

* https://news.ycombinator.com/item?id=11417059

Although Microsoft then spoiled that explanation a couple of years later by switching to a virtual machine system instead of the NT kernel emulating the not-present Linux kernel.

That is a bizarre principle. The Python standard library APIs are mediocre at best.

Surely copy the Rust APIs? Or maybe Go?