Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vbit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
vbit
11y ago
Funny, this was one of the goals of Nim, I believe.
62.
▲
by
vbit
11y ago
Any support for FreeBSD?
63.
▲
by
vbit
11y ago
How do you do a linear search in a piece chain? Doesn't seem very efficient.
64.
▲
by
vbit
11y ago
So here's yet another attempt at describing terra :) Firstly, 'typed Lua' really meant the terra sub language because it looks like Lua with types. Going back to terra, consider that 'terra' is a language that can b
65.
▲
by
vbit
11y ago
Instead of generate LLVM code, you could instead generate 'typed Lua' using Lua as a metaprogramming language. Then the 'typed Lua' can get compiled down by LLVM into object code. This is what http://terralang
66.
▲
by
vbit
11y ago
Interesting that it took so long to reach this conclusion. I thought Linux devs stayed away from ZFS mainly due to the licensing which leads me to believe it's not quite as 'obvious' as this post mentions.
67.
▲
by
vbit
11y ago
Can you give an example of 'more complex regex searching'? I thought the JS regex engine would be at par with whatever sublime uses.
68.
▲
by
vbit
11y ago
See also ubjson ( http://ubjson.org/ ) which is quite nice because it is a simple format that manages to be quite concise and extensible. An interesting feature is support for strongly typed arrays and objects. This lets you
69.
▲
by
vbit
11y ago
Same for Lua.
70.
▲
by
vbit
11y ago
I generally prefer coroutines myself but this article doesn't cover some points well. 'Fair scheduling' - nobody writes single threaded programs that process requests sequentially. It's either a thread-per-request system
71.
▲
by
vbit
11y ago
I don't think pixel level customization is a major factor in bloat or performance. Doing it on top of a browser is what adds the majority of the overhead IMO.
72.
▲
by
vbit
11y ago
Ok so what is Solus? Yes it's an OS as I can see from the home page but what's the ancestry? Is it too much work to mention 'Linux distro' or 'Linux-based' on the home page (or any other page of the site for th
73.
▲
by
vbit
11y ago
Heh yes, a very common complaint. I don't like it either, but the trade off still seems worth it.
74.
▲
by
vbit
11y ago
> To change a data structure in a statically-typed language, you change the declaration then fix any compile errors. It is easy in most cases. Right. This can become an overhead in a rapidly evolving design because every small type chang
75.
▲
by
vbit
11y ago
Can you make networked multi player games in love that work on mobile?
76.
▲
by
vbit
11y ago
Does love work well with moonscript?
77.
▲
by
vbit
11y ago
How is that better than 'print to google drive' from chrome or android?
78.
▲
by
vbit
11y ago
> You can cover literally the first two things with LuaJIT. Not at all. You don't have explicit control over generating machine code in LuaJIT. OTOH all Terra functions - whether dynamically generated or pre-written - will get com
79.
▲
by
vbit
11y ago
The front page describes three distinct use cases for Terra. While criticism is welcome, it certainly appears that you are missing the uses for Terra. Consider the third case - you can write Terra functions (cleaner syntax than C) and use L
80.
▲
by
vbit
11y ago
I feel uncomfortable using maps these days too. Something about the dynamic moving and bouncing of elements when I'm just moving my mouse makes me insecure. I can't easily figure out where to find things. I've started to use
81.
▲
by
vbit
11y ago
Why so?
82.
▲
by
vbit
11y ago
Perhaps, but many companies have a 'Abosolutely No AGPL' policy which effectively reduces adoption.
83.
▲
by
vbit
11y ago
An employer may offer free sushi and beer on Fridays. Does it mean they encourage fish and alcohol consumption? What about employees who don't consume either due to health or religious reasons, or just plain preference? Do they now des
84.
▲
by
vbit
11y ago
You're not a parent, are you? ;) - I seriously doubt this leave will have any bearing whatsoever on whether an employee decides to have kids. It is such a major, life changing and personal decision it is taken irrespective of incentive
85.
▲
by
vbit
11y ago
What's the disadvantage of subprocesses?
86.
▲
by
vbit
11y ago
Well you can already use Nim threads ( http://nim-lang.org/docs/threads.html ) and channels ( http://nim-lang.org/docs/channels.html ) - the model is similar although the implementation uses system th
87.
▲
by
vbit
11y ago
Garbage collected languages handle this fine too.
88.
▲
by
vbit
11y ago
how does this compare to srclib? https://srclib.org/
89.
▲
by
vbit
11y ago
Ah, thanks - didn't know that. Tarantool is very interesting, btw.
90.
▲
by
vbit
11y ago
I don't think so. Tarantool uses an async evented IO model, but uses Lua coroutines and not Javascript. There are not callbacks, just 'yield points'. Also, the primary data store backend is an in-memory database with optional
More ›