Arc Forumnew | comments | leaders | submit | vdm's commentslogin
2 points by vdm 6161 days ago | link | parent | on: Interface to SQLite in 23 lines of Arc

I must say, the resulting code is very concise, and if arc encourages APIs and libraries like this, it has a bright future.

-----

1 point by jgrahamc 6161 days ago | link

It could be even shorter, db> doesn't need to be so complex. There's a bug in write which causes it to not flush output to a port and hence the need to flush directly, and I should be able to append the \r\n directly without doing writec. Was just getting a little tired when I got there :-)

Credit goes to Arc, and also to the C API for SQlite.

-----

4 points by vdm 6161 days ago | link | parent | on: New version

Please link up "J" unless you just expect people to know what it is without guesswork.

-----

3 points by helium 6161 days ago | link

It's a language similar to APL. Finding out what J is is as simple as searching for j programming language in e.g. google. Results are e.g. http://en.wikipedia.org/wiki/J_programming_language

-----