Arc Forumnew | comments | leaders | submitlogin
2 points by vdm 6161 days ago | link | parent

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.

-----