logoalt Hacker News

integrichotoday at 5:48 AM2 repliesview on HN

Agreed, I thought this is a wrapper for STL under Python, what does the py prefix stand for here actually?

As for the why c++ at all, as long as one falls into the "don't care" category, it works fine.. lately I found myself I rather build my apps in C with NODEFAULTLIB (under Windows at least), and creating my own size-optimized standard library which on Windows wraps the Win32 API wherever possible. The size savings are incredible, my executable is in the ~500KB range, ultra small and ultra fast. This is unattainable with normal modern C++.


Replies

pjmlptoday at 7:14 AM

I instead, use VC++ latest with C++23 import std.

As for the size requirements, and having Windows experience all the way back to Windows 3.0, you can do exactly the same tricks with C++.

show 1 reply
dsabtoday at 6:04 AM

Out of curiosity what are your projects written in C for Windows? GUI apps?

show 1 reply