Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tadeuzagallo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
tadeuzagallo
7y ago
There are a few bugs related to caching, but the main ones are: The initial implementation of the underlying infrastructure: https://bugs.webkit.org/show_bug.cgi?id=192782 Initial C++ and Obj-C APIs: https://bugs
2.
▲
by
tadeuzagallo
9y ago
That's not all, there's the cost of (down)loading the dead code, and startup cost for loading the unoptimised cost. Even more critical when you consider environments where you can't JIT, like React Native on iOS for instance,
3.
▲
by
tadeuzagallo
10y ago
As usual, for fun and learning, but also to use the language and identify what is more critical to improve.
4.
▲
by
tadeuzagallo
10y ago
It was a lot of fun indeed! > What will Verve do well, that no (major) language does well? I'm always thinking about that, and I honestly wouldn't write a "proper" language (as in working on it full time, and expectin
5.
▲
by
tadeuzagallo
10y ago
Have you read the blog post? It explains why I won't use LLVM and says that the interpreter is written in GAS x86_64. And I'm not "pitching my software", I'm sharing my side project, with a massive disclaimer that
6.
▲
by
tadeuzagallo
10y ago
I started with colons indicating the return type, but IMO it gets too confusing when you have functions as parameters. e.g. `foo(bar: (int, string): float): float` but that might be just personal preference.
7.
▲
by
tadeuzagallo
10y ago
It makes it easier to reason about a functions result, both when reading the code and when type checking.
8.
▲
by
tadeuzagallo
10y ago
`extern` means it's implemented in native, but it has to conform to the interface that the VM provides, and register that function with the VM. At runtime, the parser knows when a function is local (i.e. in the bytecode) or extern (i.e
9.
▲
by
tadeuzagallo
10y ago
Right now it runs on its own VM. What I meant by "the VM is no longer necessary" was that the language went from being dynamic (when I was just prototyping with lisp) to static (in the current state), so it should be easy to gener
10.
▲
by
tadeuzagallo
10y ago
Fixed it, thanks!
11.
▲
by
tadeuzagallo
10y ago
That's not a dependency, that's a limitation: the interpreter is only implemented for one platform right now, but there's no reason why it shouldn't be possible to add support for a new platform without changing the exis
12.
▲
by
tadeuzagallo
10y ago
I meant minimal as in the number of concepts it exposes, basically all you get are functions, (G)ADT + pattern matching and type classes.
13.
▲
by
tadeuzagallo
10y ago
Thanks for posting the errors, I'll get ubuntu running and look into it. It seems to be just the __unused annotations and the non-portable pthread call, so should be easy to get it working. :)
14.
▲
by
tadeuzagallo
11y ago
Thanks, indeed I didn't make any efforts to make it faster, but this seems fair... I honestly didn't know DataView was that slow, it got fibonacci(40) down to 1m53s. Faster than PERL according to http://fengmk2.com/