Get the latest tech news

Writing your own C++ standard library part 2


This blog post talked about the "self written C++ standard library" I wrote for the fun of it ( code here ). The post got linked by Hackern...

I am, in actual fact, an idiot, but not due to project scope but because I assumed people on the Internet to have elementary reading comprehension skills. The second one was a fully general, lazy and allocation-free method that uses the most unloved of language features: the void pointer.So given that you have a callback function like this: Building the entire project has 8 individual compilation and linking steps and takes 0.8 seconds when using a single core on this laptop computer.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of C++

C++

Photo of Standard Library

Standard Library

Related news:

News photo

C++ to Rust Phrasebook

News photo

A Simulation in C++ of Joseph Weizenbaum's 1966 Eliza

News photo

Initialization in C++ is bonkers (2017)