<adrien_oww>
callinc OCaml from C : 50µs top on an Atom from a few years ago
<adrien_oww>
calling*
<adrien_oww>
(without the function lookup)
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikki93 has joined #ocaml
arjunguha has joined #ocaml
stomp has joined #ocaml
arjunguha has quit [Client Quit]
nikki93 has quit [Ping timeout: 240 seconds]
jonludlam has joined #ocaml
q66 has joined #ocaml
<flux>
if there was an llvm backend for ocaml, one would be able to inline C and OCaml code to each other!
avsm has joined #ocaml
amirmc has joined #ocaml
<ggole>
llvm is adding support for precise GC, so that might not be entirely crazy
<ggole>
I don't think the exception model would work for OCaml though.
<flux>
if an llvm turned up without exception support, I'm sure people would find a way :)
<flux>
+backend
arjunguha has joined #ocaml
<ggole>
There were some patches floating around at one point.
<flux>
while I'm not saying getting to 90% wouldn't be a big task, the remaining 10% would probably be one as well :)
<ggole>
Mmm. As they say, there's the first 90%, then the next 90%.
jonludlam has quit [Ping timeout: 244 seconds]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pminten has joined #ocaml
q66 has quit [Ping timeout: 252 seconds]
jonludlam has joined #ocaml
ollehar has joined #ocaml
sw1nn has joined #ocaml
thorsten` has joined #ocaml
lostcuaz has joined #ocaml
boogie has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
csakatoku has joined #ocaml
boogie has quit [Ping timeout: 240 seconds]
csakatoku has quit [Read error: No route to host]
csakatok_ has joined #ocaml
kaustuv has joined #ocaml
talzeus has joined #ocaml
saapw has quit [Quit: Leaving.]
csakatok_ has quit [Read error: No route to host]
csakatoku has joined #ocaml
arjunguha has joined #ocaml
arturgadelshin has quit [Ping timeout: 240 seconds]
arj has joined #ocaml
csakatoku has quit [Read error: No route to host]
<kaustuv>
if OCaml{Pro,Labs} have some extra money and spare cycles, maybe they can take on updating the documentation of ocamlbuild?
csakatoku has joined #ocaml
<kaustuv>
For instance, I just found out that there are tags like warn_Z, warn_K, etc. that turn on the corresponding -w flags
<kaustuv>
This is not apparently documented anywhere
<companion_cube>
sadly I don't think ocp has spare money
csakatoku has quit [Read error: No route to host]
<jpdeplaix>
and they prefer not do deal with ocamlbuild
csakatoku has joined #ocaml
<jpdeplaix>
but ocamllabs maybe
<kaustuv>
Should I start using ocp-build then?
<Kakadu>
I probably should not
<introom2>
I install ocp-indent by opam install ocp-indent. but the ocp-indent.vim is not found.
<introom2>
is that normal?
csakatoku has quit [Read error: No route to host]
csakatoku has joined #ocaml
<kaustuv>
I'm willing to give ocp-build a reasonable try, but it would be the sixth or seventh build system for OCaml that I've had to learn
csakatoku has quit [Read error: Connection reset by peer]
csakatoku has joined #ocaml
csakatoku has quit [Read error: Connection reset by peer]
csakatoku has joined #ocaml
introom2 has quit [Quit: WeeChat 0.4.3]
<companion_cube>
kaustuv: I switched to oasis (+ocamlbuild) and it's pretty nice
<companion_cube>
but then I don't have complicated needs in terms of build systems
introom has joined #ocaml
csakatoku has quit [Read error: No route to host]
csakatoku has joined #ocaml
cago has quit [Ping timeout: 240 seconds]
<kaustuv>
My recent frustration was getting the syntax exteionsions in ocaml-cow to work with ocamlbuild. Thankfully, ocamlbuild -documentation plus a whole bunch of verbose flags was helpful -- much more so than the wiki
<kaustuv>
(hmm, how did that 'io' get in there?)
csakatoku has quit [Read error: No route to host]
csakatok_ has joined #ocaml
mika1 has quit [Ping timeout: 244 seconds]
csakatok_ has quit [Read error: No route to host]
csakatoku has joined #ocaml
shinnya has quit [Ping timeout: 244 seconds]
csakatoku has quit [Ping timeout: 240 seconds]
cago has joined #ocaml
csakatoku has joined #ocaml
cago has left #ocaml []
<adrien_oww>
oasis' myocamlbuild.ml fixes lots of deficiencies in the builtin support of ocamlbuild
csakatoku has quit [Ping timeout: 244 seconds]
<ggole>
Seems it needs a special keyboard driver for real support
tlockney_away is now known as tlockney
<ggole>
Er, wrong channel
<pminten>
ggole: just wait until OCaml gets unicode operators ;)
<pminten>
(if it hasn't already)
michael_lee has quit [Quit: Ex-Chat]
tlockney has quit [Quit: I may return, one day...]
Simn is now known as HaxeFoundation_S
kaustuv has left #ocaml []
tlockney_away has joined #ocaml
tlockney_away is now known as tlockney
ygrek_ has joined #ocaml
nlucaroni has joined #ocaml
boogie has joined #ocaml
wwilly has quit [Ping timeout: 241 seconds]
boogie has quit [Ping timeout: 244 seconds]
johnelse_away is now known as johnelse
mort___ has joined #ocaml
stomp has quit [Ping timeout: 265 seconds]
amirmc has quit [Quit: Leaving.]
boogie has joined #ocaml
stomp has joined #ocaml
ggole has quit []
tane has joined #ocaml
ggole has joined #ocaml
wwilly has joined #ocaml
oxford is now known as cantstanya
pminten has quit [Remote host closed the connection]
amirmc has joined #ocaml
bjorkintosh has joined #ocaml
mgodshall has joined #ocaml
wwilly has quit [Remote host closed the connection]
arturgadelshin has joined #ocaml
claudiuc has joined #ocaml
claudiuc_ has quit [Ping timeout: 240 seconds]
tianon has quit [Ping timeout: 252 seconds]
introom has quit [Ping timeout: 244 seconds]
tianon has joined #ocaml
nikki93 has joined #ocaml
avsm has quit [Quit: Leaving.]
nikki93 has quit [Ping timeout: 240 seconds]
mmachenry has joined #ocaml
avsm has joined #ocaml
mmachenry has quit [Ping timeout: 287 seconds]
avsm has quit [Quit: Leaving.]
Kakadu has quit [Ping timeout: 245 seconds]
Thooms has quit [Quit: WeeChat 0.3.8]
pminten has joined #ocaml
jwatzman|work has joined #ocaml
boogie has quit [Write error: Broken pipe]
HaxeFoundation_S is now known as Haxe_Simon
arj has quit [Quit: Leaving.]
saapw has joined #ocaml
Haxe_Simon is now known as Simn
companion_cube was kicked from #ocaml by adrien [keep your foul words to yourself]
companion_cube has joined #ocaml
mcclurmc has joined #ocaml
Simn is now known as Simn|gone
amirmc has quit [Read error: Connection reset by peer]
amirmc has joined #ocaml
_flatline_ has joined #ocaml
boogie has joined #ocaml
nrms has joined #ocaml
boogie has quit [*.net *.split]
amirmc has quit [*.net *.split]
pminten has quit [*.net *.split]
tianon has quit [*.net *.split]
arturgadelshin has quit [*.net *.split]
talzeus has quit [*.net *.split]
sw1nn has quit [*.net *.split]
thorsten` has quit [*.net *.split]
ikaros has quit [*.net *.split]
cross has quit [*.net *.split]
siddharthv_away has quit [*.net *.split]
AltGr has quit [*.net *.split]
axiles has quit [*.net *.split]
tov has quit [*.net *.split]
n0v has quit [*.net *.split]
IbnFirnas has quit [*.net *.split]
cantstanya has quit [*.net *.split]
mfp has quit [*.net *.split]
nrms has quit [*.net *.split]
mcclurmc has quit [*.net *.split]
saapw has quit [*.net *.split]
claudiuc has quit [*.net *.split]
mgodshall has quit [*.net *.split]
bjorkintosh has quit [*.net *.split]
ggole has quit [*.net *.split]
mort___ has quit [*.net *.split]
ygrek_ has quit [*.net *.split]
arjunguha has quit [*.net *.split]
ollehar has quit [*.net *.split]
jonludlam has quit [*.net *.split]
dsheets has quit [*.net *.split]
r0b1 has quit [*.net *.split]
rand000 has quit [*.net *.split]
angerman has quit [*.net *.split]
ollehar has joined #ocaml
bjorkintosh has joined #ocaml
mfp has joined #ocaml
pminten has joined #ocaml
claudiuc has joined #ocaml
cross has joined #ocaml
ygrek_ has joined #ocaml
siddharthv_away has joined #ocaml
patojo has joined #ocaml
Kakadu has joined #ocaml
amirmc has joined #ocaml
mgodshall has joined #ocaml
saapw has joined #ocaml
mort___ has joined #ocaml
arturgadelshin has joined #ocaml
arjunguha has joined #ocaml
talzeus has joined #ocaml
oxford has joined #ocaml
oxford has quit [Client Quit]
mgodshall has quit [Read error: Connection timed out]
cantstanya has joined #ocaml
mgodshall has joined #ocaml
rand000 has joined #ocaml
mcclurmc_ has joined #ocaml
rand000 has quit [Ping timeout: 240 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
ggole has joined #ocaml
cross has quit [Ping timeout: 240 seconds]
patojo has quit [Ping timeout: 240 seconds]
Kakadu has quit [Ping timeout: 240 seconds]
Kakadu has joined #ocaml
mort___ has quit [Ping timeout: 240 seconds]
pminten has quit [Ping timeout: 240 seconds]
nikki93 has joined #ocaml
mmachenry has joined #ocaml
cantstanya has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
mort___ has joined #ocaml
angerman has joined #ocaml
sw1nn has joined #ocaml
ikaros has joined #ocaml
nrms has joined #ocaml
cross has joined #ocaml
mmachenry has quit [Quit: Leaving.]
wolfnn has joined #ocaml
tristero has quit [Ping timeout: 244 seconds]
sw1nn has quit [Ping timeout: 240 seconds]
boogie has joined #ocaml
divyansr__ has joined #ocaml
rand000 has joined #ocaml
mcclurmc_ has quit []
mmachenry has joined #ocaml
boogie has quit [Ping timeout: 240 seconds]
ulfdoz has joined #ocaml
IbnFirnas has joined #ocaml
n0v has joined #ocaml
axiles has joined #ocaml
thorsten` has joined #ocaml
dsheets has joined #ocaml
Dongyancai has quit [Ping timeout: 264 seconds]
amirmc has quit [Quit: Leaving.]
Dongyancai has joined #ocaml
ta`e has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
Dongyancai has quit [Ping timeout: 264 seconds]
tane has quit [Ping timeout: 244 seconds]
r0b1 has joined #ocaml
Simn|gone has quit [Ping timeout: 245 seconds]
mort___ has quit [Quit: Leaving.]
mmachenry1 has joined #ocaml
mmachenry has quit [Ping timeout: 264 seconds]
ollehar has quit [Ping timeout: 244 seconds]
ollehar has joined #ocaml
ta`e has quit [Quit: Verlassend]
boogie has joined #ocaml
nikki93 has joined #ocaml
comacat has joined #ocaml
boogie has quit [Ping timeout: 240 seconds]
patojo has joined #ocaml
q66 has joined #ocaml
q66 has quit [Changing host]
q66 has joined #ocaml
<orbitz>
evening
<companion_cube>
o/
q66 has quit [Quit: Leaving]
q66 has joined #ocaml
mmachenry1 has quit [Quit: Leaving.]
rand000 has quit [Ping timeout: 240 seconds]
nikki93 has quit [Remote host closed the connection]
ygrek_ has quit [Ping timeout: 240 seconds]
venk` has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
<bernardofpc>
carnival
angerman has quit [Quit: Gone]
Dongyancai has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
patojo has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
boogie has joined #ocaml
ygrek_ has joined #ocaml
ggole has quit []
NoNNaN has joined #ocaml
mmachenry has joined #ocaml
manizzle is now known as WeLoveCP
NoNNaN has quit [Ping timeout: 240 seconds]
WeLoveCP is now known as manizzle
boogie has quit [Remote host closed the connection]
axiles has quit [Remote host closed the connection]
shinnya has joined #ocaml
divyansr__ has quit [Quit: Connection closed for inactivity]
ulfdoz has joined #ocaml
NoNNaN has joined #ocaml
angerman has joined #ocaml
q66 has quit [Ping timeout: 252 seconds]
q66 has joined #ocaml
mmachenry has quit [Quit: Leaving.]
zpe has joined #ocaml
<whitequark>
does ocaml have any area manipulation libraries?
<whitequark>
specifically I want to have such operations as: defining a polygon. calculating inclusion/exclusion/intersection of polygons. finding isolated fragments of a polygon.
mmachenry has joined #ocaml
arjunguha has quit [Ping timeout: 240 seconds]
ygrek_ has quit [Ping timeout: 240 seconds]
<companion_cube>
hmm
<companion_cube>
no idea
<companion_cube>
I only know of some vectorial printing stuff
<flux>
whitequark, I'm not familiar with one, but if you do write one, I suggest making use of the Gg vector/matrix library :)
<whitequark>
flux: I'm not competent enough to write, hence searching for an existing solution
<whitequark>
really, what I want is just to take some Gerber files and intersect them with a grid...
<flux>
sounds interesting
<flux>
maybe a bitmap approximation would be sufficient for you?
<whitequark>
definitely no, I need to take gerber (vector) and output a CNC toolpath (vector)
<whitequark>
well, and "intersect with a grid" is a simplification, let me explain it better
<whitequark>
it is internally represented in gerber as a stack of "black" and "white" polygons composed one with another
<flux>
I think polygon intersection algorithm wouldn't be too fast if you don't care about performance, and the polygons are well-behaved (ie. they are always closed and they don't intersect themselves..)
<flux>
uh, I mean 'too hard'
<flux>
just a bunch of line intersections and hard thinking :)
<whitequark>
so, what I want to do is to make a toolpath (think path for a cutter) to make a stencil out of this input
<whitequark>
the end result I want to get is a thin film (e.g. a sheet of paper) with several slots through which I can apply aerosol paint
<flux>
well, your CNC is going to have limited resolution
<flux>
and there are programs to generate CNC toolpaths from bitmaps
<whitequark>
however, you see these closed polygons there? they represent a problem. because if I mill out a contour of a closed polygon, its inner part will fall out
<flux>
(so I don't think it's so unreasonable to consider it a bitmap)
<whitequark>
so I need to put bridges across the contours of closed polygons
axiles has joined #ocaml
<whitequark>
well, adding bridges is not exactly simpler with a bitmap representation. if something, it's more complex
arturgadelshin has quit [Ping timeout: 240 seconds]
<flux>
not necessarily
<flux>
using a flood fill algorithm you can give each isolated island a different color
<flux>
then you just generate some pattern to make sure such island is connected to another
arturgadelshin has joined #ocaml
<flux>
for example, take the geometric centre of the island and draw lines to 8 directions from it..
<whitequark>
well. what I want to do is to distribute a certain amount of bridges per certain length of cut slot
<whitequark>
since that corresponds well enough to material properties
<flux>
one could follow the outer edge of the island and add a bridge every n pixels
<whitequark>
doing that with bitmaps sounds contrived. it's not easy enough with vector form I have as well, though
tov has joined #ocaml
<flux>
vector form, well, I would say it's going to be difficult even if you have a library..
tianon has joined #ocaml
<flux>
it bitmaps you at least can always say what is next to each other. not so easy with vectors :)
<whitequark>
hmm, now that I think about it: I could export the *lines* from my CAD, to avoid intersecting polygons over and over
<whitequark>
then it becomes much more trivial
rand000 has joined #ocaml
flx has joined #ocaml
flux has quit [Read error: Connection reset by peer]
flx is now known as flux
bacam has quit [Ping timeout: 252 seconds]
deavidsedice has joined #ocaml
bacam has joined #ocaml
Simn has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
dRbiG has quit [Ping timeout: 252 seconds]
xaimus has quit [Ping timeout: 252 seconds]
Muzer has quit [Ping timeout: 252 seconds]
deavid has quit [Ping timeout: 252 seconds]
Muzer has joined #ocaml
<flux>
whitequark, good luck with it :)
rs0 has quit [Ping timeout: 252 seconds]
Valdo has quit [Ping timeout: 252 seconds]
xaimus has joined #ocaml
rs0 has joined #ocaml
Valdo has joined #ocaml
nk0 has quit [Ping timeout: 252 seconds]
cthuluh has quit [Remote host closed the connection]
cthuluh has joined #ocaml
dRbiG has joined #ocaml
rgrinberg has quit [Ping timeout: 252 seconds]
ia0 has quit [Ping timeout: 252 seconds]
Qrntz has quit [Ping timeout: 252 seconds]
Qrntz has joined #ocaml
Qrntz has quit [Changing host]
Qrntz has joined #ocaml
ia0 has joined #ocaml
nickmeharry has quit [Ping timeout: 252 seconds]
nickmeharry has joined #ocaml
troydm has joined #ocaml
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
boogie has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
mmachenry has quit [Quit: Leaving.]
troydm has joined #ocaml
nk0 has joined #ocaml
Muzer has quit [Ping timeout: 240 seconds]
wolfnn has quit [Ping timeout: 240 seconds]
comacat has quit [Read error: Connection reset by peer]
siddharthv_away has quit [Ping timeout: 240 seconds]
rs0 has quit [Ping timeout: 240 seconds]
xaimus has quit [Ping timeout: 240 seconds]
saapw has quit [Ping timeout: 240 seconds]
kakadu_ has joined #ocaml
wolfnn has joined #ocaml
xaimus has joined #ocaml
axiles has quit [Ping timeout: 240 seconds]
claudiuc_ has joined #ocaml
Kakadu has quit [Ping timeout: 240 seconds]
rs0 has joined #ocaml
claudiuc has quit [Ping timeout: 240 seconds]
r0b1 has quit [Ping timeout: 240 seconds]
Muzer has joined #ocaml
r0b1 has joined #ocaml
mmachenry has joined #ocaml
patojo has joined #ocaml
claudiuc has joined #ocaml
bacam_ has joined #ocaml
comacat has joined #ocaml
nikki93_ has joined #ocaml
mgodshall has quit [Quit: mgodshall]
claudiuc_ has quit [*.net *.split]
xaimus has quit [*.net *.split]
kakadu_ has quit [*.net *.split]
wolfnn has quit [*.net *.split]
boogie has quit [*.net *.split]
bacam has quit [*.net *.split]
tianon has quit [*.net *.split]
zpe has quit [*.net *.split]
angerman has quit [*.net *.split]
nikki93 has quit [*.net *.split]
nrms has quit [*.net *.split]
talzeus has quit [*.net *.split]
talzeus has joined #ocaml
__marius1_ has joined #ocaml
__marius1_ is now known as __marius__
xaimus has joined #ocaml
zpe has joined #ocaml
angerman has joined #ocaml
tianon has joined #ocaml
nrms has joined #ocaml
tianon has quit [Changing host]
tianon has joined #ocaml
jonludlam has joined #ocaml
siddharthv_away has joined #ocaml
axiles has joined #ocaml
mmachenry has quit [Quit: Leaving.]
boogie has joined #ocaml
patojo has quit [Ping timeout: 264 seconds]
mmachenry has joined #ocaml
mmachenry1 has joined #ocaml
zpe_ has joined #ocaml
siddhart1v_away has joined #ocaml
mmachenry has quit [Read error: Connection reset by peer]
siddharthv_away has quit [Ping timeout: 240 seconds]
patojo has joined #ocaml
xaimus_ has joined #ocaml
jludlam has joined #ocaml
mmachenry1 has quit [Quit: Leaving.]
boogie has quit [Ping timeout: 264 seconds]
angerman has quit [Quit: Gone]
xaimus has quit [Ping timeout: 240 seconds]
jonludlam has quit [Ping timeout: 240 seconds]
zpe has quit [Ping timeout: 240 seconds]
nrms has quit [Ping timeout: 240 seconds]
mmachenry has joined #ocaml
q66 has quit [Ping timeout: 252 seconds]
mmachenry has quit [Client Quit]
nrms` has joined #ocaml
nrms` has quit [Remote host closed the connection]
q66 has joined #ocaml
cago has joined #ocaml
q66 has quit [Read error: Connection reset by peer]
nlucaroni has left #ocaml []
cago has left #ocaml []
saml has quit [Quit: Leaving]
axiles has quit [Quit: Quitte]
nikki93_ has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
NoNNaN has quit [Ping timeout: 240 seconds]
NoNNaN has joined #ocaml
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
tlockney is now known as tlockney_away
rgrinberg1 has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
Dongyancai has quit [Ping timeout: 264 seconds]
jludlam has quit [Quit: Leaving]
jonludlam has joined #ocaml
shinnya has quit [Ping timeout: 264 seconds]
Dongyancai has joined #ocaml
arturgadelshin has quit [Quit: Leaving.]
arturgadelshin has joined #ocaml
Dongyancai has quit [Ping timeout: 264 seconds]
arjunguha has joined #ocaml
jonludlam has quit [Remote host closed the connection]
Dongyancai has joined #ocaml
nikki93 has joined #ocaml
Dongyancai has quit [Remote host closed the connection]
darkf has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
madroach has quit [Ping timeout: 252 seconds]
comacat has quit [Quit: Lost terminal]
madroach has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
nikki93 has joined #ocaml
ulfdoz has quit [Ping timeout: 264 seconds]
nikki93 has quit [Remote host closed the connection]
arjunguha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]