Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matt42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
matt42
6y ago
I'll report this to the benchmark maintainers.
32.
▲
by
matt42
6y ago
I'm wondering why this post got suddenly removed from the front page...
33.
▲
by
matt42
6y ago
I had a look at the video, but I don't think there is backpresure in this benchmark since there is only 512 connections max and each connections wait for the server response before sending a new request. So in other words the load gene
34.
▲
by
matt42
6y ago
High density point tracking and optical flow was a big part of my PhD, here is a demo :) https://www.youtube.com/watch?v=GIUDAZLfYhY
35.
▲
by
matt42
6y ago
For Rust vs c++: - I never used rust but I like the language and the safety it provides. - a mainstream package/dependency manager is missing in C++ so rust is clearly better on this point. This is a big problem for the C++ commu
36.
▲
by
matt42
6y ago
Me, the benchmark data is pretty slow to process.
37.
▲
by
matt42
6y ago
I added -pipeline but I guess -with-batch is more explicit. I'll change it then. But anyway the techempower team will eventually add a special tag for batching. There is actually a version of lithium not using batching, check for '
38.
▲
by
matt42
6y ago
Some framework are using raw sql requests to skip the overhead of the ORM but they are still slower (lithium's ORM has no cost at runtime anyway). Coding everything in ASM would be insane and increadibly hard to ensure that this is the
39.
▲
by
matt42
6y ago
I was not aware of li3.me and when I realized it, I was too lazy to find a new name..
40.
▲
by
matt42
6y ago
The benchmark is clearly not perfect. But it is great for the community: It pushes all the framework maintainers to optimize their code, so kind of all users of all frameworks are indirectly positively impacted.
41.
▲
by
matt42
6y ago
Indeed, sql query batching is the key (and I personally think that the techempower website should make it explicit), async communication with the db and the http client is also the key. FYI lithium is not using a libpq fork from 2016, it ha
42.
▲
by
matt42
6y ago
The benchmark show that the frameworks has a big impact on performance. While all the frameworks are using the same database server, performances varies from 1x to 100x. While the benchmark focus on more req/s, we can also see it the o
43.
▲
by
matt42
6y ago
It is linux only because it's based on epoll. It could be easily ported to macos and windows but my focus was to get the performances right first.
44.
▲
by
matt42
6y ago
Can you do an AMA? of course! Why did you create lithium? To see how much C++ can get closer to dynamic langagues typically used for web programming and at the same time make absolutely no compromise on performances. How long have you been
45.
▲
by
matt42
6y ago
Lithium development started 8 months ago and is not yet backed by a company. So it has clearly not a lot of traction yet. Just give it some time.
46.
▲
by
matt42
6y ago
Link to the lithium homepage: https://github.com/matt-42/lithium
47.
▲
Lithium ranked the highest performance web application platform
(techempower.com)
99 points
by
matt42
6y ago
|
127 comments
48.
▲
C++17 zero-cost key value maps using POD objects as backend
(github.com)
2 points
by
matt42
6y ago
|
0 comments
49.
▲
by
matt42
6y ago
Author here. I started this project last december in an attempt to ease the development of web apps with C++. It's almost feature complete, I fixed quite some bugs and all the performances issues I could find. It is now ranked #1 on th
50.
▲
Lithium:http_backend. Coroutine based, C++ HTTP web application framework
(github.com)
2 points
by
matt42
6y ago
|
1 comments
51.
▲
Never consent to major GDPR consent management platforms
(chrome.google.com)
2 points
by
matt42
6y ago
|
0 comments
52.
▲
by
matt42
6y ago
I wrote a new C++ framework (lithium) last december ranked #4 in this benchmark and while this benchmark does a great job comparing raw performances of many frameworks on a set of test, here are my thoughts: 1/ Best Frameworks are
53.
▲
Unifying MySQL, SQLite, PostgreSQL Blocking/Non Blocking Mode in One Single API
(github.com)
2 points
by
matt42
7y ago
|
0 comments
54.
▲
Show HN: Lithium::SQL C++17, Header Only MySQL and SQLite Connectors and ORM
(github.com)
2 points
by
matt42
7y ago
|
0 comments
55.
▲
by
matt42
7y ago
Author here! I just finished the first version of the library. Any remarks suggestion or question is welcome.
56.
▲
Show HN: li:http_backend a Simple and Modern C++17 Web Framework
(github.com)
1 points
by
matt42
7y ago
|
1 comments
57.
▲
by
matt42
8y ago
>> Gaia theory suggests that the world is full of these stabilizing systems. Earth may have tricks to save its ecosystem, one of them could be temporarily increase temperatures and sea levels, just enough to end humanity.
58.
▲
by
matt42
9y ago
Removed the comparison with ASIO. But note that this is not "heavily in progress" but ready for production too. I took your remark for the closing callback. read now returns 0 and write returns false when the connection is closed
59.
▲
by
matt42
9y ago
I did not spend too much time writing the documentation because of the simplicity of the library. I thought that the tcp echo example would be enough. But I'll spend more time in the Readme, at least fixing the language issues :)
60.
▲
by
matt42
9y ago
Got it. I'll fix them asap thanks
More ›