Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matt42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
matt42
9y ago
I'll try and swith to unordered_map if it has a negligible impact on performances.
62.
▲
by
matt42
9y ago
My fear with this approach that it allows to write "using namespace moustique". This would cause: - name conflicts on the listen function. - Code harder to read since it's not obvious anymore that listen comes for th
63.
▲
by
matt42
9y ago
I did it this way because This library contains just one function. Would you still use namespaces in this case?
64.
▲
by
matt42
9y ago
Note: I wrote this yesterday after I wrapped my hands around coroutines. This is a work in progress (even if it's already fully working) I'll take any remarks here.
65.
▲
by
matt42
9y ago
But you're right, maybe we want two moustique_listen_tcp moustique_listen_udp helpers. I put this in my todolist.
66.
▲
by
matt42
9y ago
This is default behaviour but you can fill you own socket file descriptor if you want, using the second overload of moustique_listen: template <typename G, typename H> int moustique_listen(int listen_fd, G closed_co
67.
▲
Show HN: Moustique – C++14 coroutine-based non-blocking IO on Linux
(github.com)
68 points
by
matt42
9y ago
|
31 comments
68.
▲
by
matt42
9y ago
That's funny because all the deep-learning frameworks also did the same move: the API is now just functions building an AST that is then translated by a compiler into parallel cpu or gpu code...
69.
▲
C++17 MetaJSON 0.1, up to 2x faster than rapidjson
(github.com)
4 points
by
matt42
9y ago
|
0 comments
70.
▲
Show HN: Iod::metajson, a C++17 lightweight JSON de/serializer
(github.com)
1 points
by
matt42
10y ago
|
0 comments
71.
▲
More than Real Time (200 FPS) Optical Flow with Video++ (video)
(youtube.com)
2 points
by
matt42
10y ago
|
0 comments
72.
▲
by
matt42
10y ago
The last paragraph says: Correction: This story used out of date information to claim that the technology had been licensed out. It has not been licensed to date. As well, it formerly stated that the U.S. Commerce Department paid for the co
73.
▲
by
matt42
10y ago
You'll probably get more answers is you post your question on https://www.reddit.com/r/cpp
74.
▲
Sycl.tech
(sycl.tech)
2 points
by
matt42
10y ago
|
0 comments
75.
▲
Early Access to the SYCL Open Standard for C++ Acceleration
(codeplay.com)
1 points
by
matt42
10y ago
|
0 comments
76.
▲
by
matt42
10y ago
Awesome!
77.
▲
Parsing command line with one C++14 statement
(github.com)
1 points
by
matt42
10y ago
|
0 comments
78.
▲
by
matt42
10y ago
Author here, remarks and questions are welcome.
79.
▲
Simple and Modern C++14 Command Line Parsing
(github.com)
3 points
by
matt42
10y ago
|
1 comments
80.
▲
by
matt42
10y ago
Congratz guys!
81.
▲
by
matt42
10y ago
Did you benchmark Go vs C/C++ for parallel image processing ? I'm curious to see if there is actually a cost into switching to a higher lever language like Go.
82.
▲
What is Quantum Annealing?
(youtube.com)
1 points
by
matt42
10y ago
|
0 comments
83.
▲
by
matt42
10y ago
There is a very good visual explanation of the difference bettween quantum annealer and univeral quantum computer: https://www.youtube.com/watch?v=zvfkXjzzYOo
84.
▲
Timeline of quantum computing
(en.wikipedia.org)
1 points
by
matt42
10y ago
|
0 comments
85.
▲
by
matt42
10y ago
I do not know anything in quantum computing but I read that D-Wave already reached 1000 qubits. Does it mean that their computer is already more powerful that any classical super computer ? http://www.dwavesys.com/press-rele
86.
▲
Discussion on designing C++ image processing libraries
(reddit.com)
1 points
by
matt42
10y ago
|
0 comments
87.
▲
by
matt42
10y ago
Author here. Any questions are welcome.
88.
▲
by
matt42
10y ago
The mouse wheel is broken, but the scroll bar seems to work fine :)
89.
▲
by
matt42
10y ago
Python and matlab are good for high level image processing but iterating over the pixels with for loops is incredibly slow. To implement a low level processing running in a reasonable amount of time, compiled languages like C or C++, or eve
90.
▲
by
matt42
10y ago
I guess this is because you do not always want to wait for a future just after the function call. In some cases, there is code you want to execute between the call to an async function and the use of its return value. A simple example would
More ›