76 karma · joined October 11, 2016
So I made this app to allow me to merge my bookmarks from delicious and chrome, and retain the multi-tagging functionality from the former.
Never thought of that. It is costly but still, great advice!
Are you a member of the buck team? Your new account only has activity on this submission.
Afterall, nim generates c files.
What's interesting is the nrvo optimizations that nim generates under the hood without much effort from the developer (on non-trivial codebases).
The workaround is usually to batch your computations on the c-side (micro-rpc) and minimize the calls (like cockroachdb is doing)
Time in ms to call a c function 2 billion times (lesser is better).
95536 - go 1.1.2
130105 - go 1.8.0
It is a rather crude example:
// plusone is the ffi
int x = 0;
while (x < 2000000000) x = plusone(x);
Here's the source https://github.com/dyu/ffi-overhead
With other programming languages:
c:
4778
nim:
4746
rust:
5331
java7:
17922
java8:
17992
go:
130105
(edited for formatting)
I made a typo in my above comment. As a dishwasher, you get $450/month - fixed and without tips.
1. semantic-ui.com
Shameless plug: https://github.com/vuets/vuets
It is a micro-lib less than 100 LOC.
This. They are treating vscode like its a core (cash cow) product. I'd say google embraced/adopted open source early on and now microsoft is playing catchup while now becoming one of the very best to do it.