Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jackrabbit_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
jackrabbit_
2y ago
I thought it was a pun with moiré then saw the surf board. I was fooled again as it was about moiré!
2.
▲
Implementing an Intermediate Representation for ArkScript
(lexp.lt)
5 points
by
jackrabbit_
2y ago
|
2 comments
3.
▲
by
jackrabbit_
2y ago
For a while I wanted to explore new optimization opportunities for ArkScript, and so I wrote a very simple IR for my language ArkScript (lisp like that’s made easy to embed in C++ apps). I’m now going to improve this IR (to have function ca
4.
▲
Show HN: An Online Playground for ArkScript
(playground.arkscript-lang.dev)
1 points
by
jackrabbit_
2y ago
|
0 comments
5.
▲
by
jackrabbit_
6y ago
Hi everyone! For those who don't know us, ArkScript is a programming language made in C++ to be easily used in projects, inspired by Lisp. The language aims to be small to avoid a collection of 100 keywords with very rare/specific
6.
▲
by
jackrabbit_
6y ago
A while ago, I posted about I made a fun POC of hacking the DNS protocol to send messages to a server (creating a communication service relying on DNS requests/replies): https://www.reddit.com/r/Python/comment
7.
▲
Show HN: ArkScript language 3.0.13 is out
(reddit.com)
1 points
by
jackrabbit_
6y ago
|
1 comments
8.
▲
by
jackrabbit_
6y ago
A small programming language made for C++ developpers, inspired by Lisp, aiming for relatively good speed. It was created because I wanted to try my hands at a Lisp like, and it turned out so good I kept working on it for nearly two years n
9.
▲
by
jackrabbit_
6y ago
After a lot of delay, it's here and we plan to use this module to develop small REST API, websites and maybe even our future package manager! It can handle servers with get, post, put, delete routes, with functions to treat the receive
10.
▲
ArkScript HTTP module is ready to be used (both server and client)
(github.com)
1 points
by
jackrabbit_
6y ago
|
1 comments
11.
▲
I made a scripting language for C++ projects, ArkScript
(reddit.com)
2 points
by
jackrabbit_
6y ago
|
0 comments
12.
▲
Why do I need Git?
(dev.to)
1 points
by
jackrabbit_
6y ago
|
0 comments
13.
▲
by
jackrabbit_
7y ago
Woops sorry I used the Ackermann Péter fucntion, still the same parameters (3, 6), on spidermoney (js engine for Firefox 74.0, windows 10, i7 8k) Thanks for the link, I'll definitely dig down into that!
14.
▲
by
jackrabbit_
7y ago
This is a very heavy test of non optimizable recursion, and (benchmark not published yet) ArkScript is only 2 times slower than JavaScript. It sounds a lot, but please note that I'm actively working on improving those numbers, and I&#x
15.
▲
by
jackrabbit_
7y ago
I've never heard of fennel before, looks interesting! Yes it's possible to launch a REPL by using the `-r` or `--repl` option when launching ArkScript executable. A few people contributing on the language are people I know from so
16.
▲
by
jackrabbit_
7y ago
It could have been compiled to Lua bytecode, but I felt like having an external VM and ArkScript would have been too much. I always hate when I download a lib and 100 smaller libs come because the main lib relies on it
17.
▲
by
jackrabbit_
7y ago
> An FFI is when you use only ArkScript to make calls against other languages that don't know about ArkScript's API I should definitly rename this part as stated in another comment, since the "FFI" isn't a real o
18.
▲
by
jackrabbit_
7y ago
Thanks!
19.
▲
by
jackrabbit_
7y ago
That's the idea yes. Since an example is worth a thousand words, here is a function for the http module, counting argument, checking the types and then using the values to create an http client (to make http requests to web servers):
20.
▲
by
jackrabbit_
7y ago
I'm sorry, I used the wrong word (see the details in the above comment: https://news.ycombinator.com/item?id=22698450 ) for this.. It's not a FFI but an interface using the VM API.
21.
▲
by
jackrabbit_
7y ago
You're right, I'm using the wrong name for this. At the beginning the goal was to have what you described as a FFI and what I thought a primitive "FFI" would look like (eg. what it is today, a system using the VM API), b
22.
▲
by
jackrabbit_
7y ago
That's where it's tricky, the compiler doesn't know, it's checked at runtime by the C++ function, which receives a list of Values, count them (actually quite convenient if we need to make variadic argument functions) and
23.
▲
by
jackrabbit_
7y ago
Good question actually! I knew and I know that making a scripting fast enough to make video games is really tough, so I wasn't expecting to be able to make a language able to make games on its own (understand: not as a scripting langua
24.
▲
by
jackrabbit_
7y ago
Thanks! Some people are going to be a bit angry about what I'm going to say, but the language is 100% dynamically typed, so we retrieve `Ark::Value` from the language, and in C++ we check the data type by using `value.valueType()`, we
25.
▲
by
jackrabbit_
7y ago
A while ago, I was using Lua as a scripting language for my games but wanted something between Lisp and Python, a language which would run on a VM to be able to export only the bytecode, and to be able to code in a lisp like syntax. And Ark
26.
▲
Show HN: ArkScript, a small and fast language for scripting video games
(github.com)
101 points
by
jackrabbit_
7y ago
|
42 comments
27.
▲
Call me maybe – an explanations of Python callables
(dev.to)
2 points
by
jackrabbit_
7y ago
|
0 comments
28.
▲
ArkScript HTTP module (wip) is there
(github.com)
2 points
by
jackrabbit_
7y ago
|
0 comments
29.
▲
Snake game made with my scripting language, ArkScript
(github.com)
2 points
by
jackrabbit_
7y ago
|
0 comments
30.
▲
ArkScript 3.0.9 is available, fixing import bugs and bringing a growing std lib
(github.com)
1 points
by
jackrabbit_
7y ago
|
0 comments
More ›