HNHacker News
TopNewBestAskShowJobs

felixguendling

104 karma · joined September 21, 2015

submissionscomments
felixguendling··on Tinyalloc: replacement for malloc/free in unmanaged, linear memory situations
As some comments point out that this code might not be production ready, can anyone recommend other solutions that are able to manage a given block of memory? My understanding of libraries like jemalloc is that they are replacing malloc (using system calls brk and mmap [0]) but I can't hand it an already allocated block of memory to manage, right?

Something like

    memory_manager m(some_buffer);
    allocation a = m.allocate(512);
would be nice. :-)

[0] https://medium.com/iskakaushik/eli5-jemalloc-e9bd412abd70

felixguendling··on Programming for Grade 8
This is great! What was the time frame? Did you do several lessens, one hour each? How many? Or one/many complete morning(s) / afternoon(s)?
felixguendling··on Dalin – A C++ non-blocking network library on Linux
Asio is also available as a standalone library without any dependencies (C++11): https://think-async.com/
felixguendling··on Backblaze B2 Drops Download Pricing by 60%
SFTP/SCP/rsync support would be great. Currently, only HTTPS are supported for B2: https://help.backblaze.com/hc/en-us/articles/230383828-Suppo...
felixguendling··on Parallelizing the Naughty Dog Engine Using Fibers [video]
Not directly. I think it is part of the Playstation SDK (but I'm not a game developer). There are libraries that are based on the same concept (many execution contexts per thread):

  * https://github.com/RichieSams/FiberTaskingLib  
  * https://swtch.com/libtask/  
  * https://github.com/halayli/lthread  
  * https://github.com/stevedekorte/coroutine
RethinkDB are using something like this: http://rethinkdb.com/blog/improving-a-large-c-project-with-c... http://rethinkdb.com/blog/making-coroutines-fast/
felixguendling··on Fuzzy string matching using cosine similarity
That is a simple but very effective method. I am using it for my projects with this tiny library I've written earlier this year (C++). It uses Cosine Similarity + Trigrams and is quite fast.

https://github.com/felixguendling/guess

← PreviousPage 2 of 2