HNHacker News
TopNewBestAskShowJobs

xorz57

2 karma · joined October 15, 2022

submissionscomments
xorz57··on Basic Virtual Machine Implementation in C99
I think I am not even close to this day :/ But I agree!
xorz57··on Basic Virtual Machine Implementation in C99
Thank you so much for the feedback! I will try do my best!
xorz57··on Simple Trie Implementation in C++11
https://github.com/xorz57/xorz57.netlify.com/commit/48d1c580...

My bad! I fixed it!

xorz57··on Simple Trie Implementation in C++11
I verify this is true! I am working on it!
xorz57··on Simple Trie Implementation in C++11
That's great!
xorz57··on Simple Trie Implementation in C++11
Yes `unique_ptr` would be better!
xorz57··on Simple Trie Implementation in C++11
Yes, indeed!
xorz57··on Simple Trie Implementation in C++11
My apologies. I updated the post! Now it works just fine!
xorz57··on Simple Trie Implementation in C++11
Sure!
xorz57··on Simple Trie Implementation in C++11
I think auto won't have any run-time performance since type deduction happens at compile-time.

Also read this https://stackoverflow.com/questions/19618759/c-11-auto-compi...

xorz57··on Simple Trie Implementation in C++11
I will probably include this implementation in a repository of mine called "forest". You can check it out here https://github.com/xorz57/forest Or you could copy paste it and open a pull request with additional features!
xorz57··on Simple Trie Implementation in C++11
I am not sure about that. I am fairly new to functional programming :(.
xorz57··on Simple Trie Implementation in C++11
Just keep in mind that auto is different than const auto. Performance won't be an issue.
xorz57··on Simple Trie Implementation in C++11
I feel you.
xorz57··on Simple Trie Implementation in C++11
This implementation lacks operations like clear() or remove(). I could create a repository if you would like to contribute.
xorz57··on Simple Trie Implementation in C++11
Personally, I use auto only when I have to write a long typename (ex. Iterators).
xorz57··on Simple Trie Implementation in C++11
I am pleased to hear you like my work! I have written a Red/Black and a Splay Tree Implementation as part of the forest repository but I wasen't satisfied enough with those so I removed them. I am planning to implement more stuff in the future so stay tuned!