<pokey2>
The ease of use of OS X over linux is rapidly diminishing :-(
<Camarade_Tux>
hehe :P
<pokey2>
Which is what I assume you use....
<pokey2>
debian?
<kaustuv>
I've been using Linux since 95 and Debian since 97. Ain't nothing ever come close to convincing me to switch
<Camarade_Tux>
that's what I do, that's not what everybody does ;)
<pokey2>
I have a dual boot with X and XP, might add debian sometime
<Camarade_Tux>
there are several people using mac os x actually
<pokey2>
Of course linux has no applications....
<pokey2>
So here I am on OS X
<kaustuv>
I think you should still go ahead with the 32 bit stuff and wait for Snow Leopard
<pokey2>
using ocaml, and firefox, and tremulous
<pokey2>
and emacs
* Camarade_Tux
is currently happily reencoding videos in h264 with x264 and mplayer/mencoder
<pokey2>
and vlc...
<pokey2>
oh shit, I'm going to end up using linux
<kaustuv>
On 32 bits ocaml also has an annoying 16MB size limit for arrays, unless you use bigarrays
<pokey2>
Yeah, expected to need bigarray
<Camarade_Tux>
even though, bigarrays are maybe better, regular arrays use 1.8 times the memory you'd expect them to (because of the 80% setting in the Gc module)
<Camarade_Tux>
80% for Gc.space_overhead that is
<pokey2>
Yeah. I'm going to need to make suffix array stuff, too bad there's no compressed suffix array libraries.
<pokey2>
Just want straight up arrays. No pointers.
<kaustuv>
well you can't really point inside an array in ocaml without cheating the type system
<kaustuv>
and even if you could, you shouldn't because the GC will hate you
<pokey2>
Bigarrays have indexing...
<pokey2>
?
<kaustuv>
Sure, but they always dereference the array header
<pokey2>
What, bigarrays are broken? :-(
<kaustuv>
no, they don't dereference the WHOLE array, just the header page and the page you're indexing into
<kaustuv>
which if you think about it is kind of unavoidable
<pokey2>
Oh, you mean for multidimensional arrays.
<kaustuv>
No, I mean that in a single dimensional array that spans several pages, indexing the ith element will dereference the array header to see if you are inside bounds. In C, to contrast, you can happily dereference any offset from the start of the array.
<pokey2>
augh, why must my tools try to be smart
<pokey2>
I guess that shouldn't be too slow though.
<pokey2>
eh
<kaustuv>
there are some unsafe_ operations, and you can compile with -unsafe, but I think there are some runtime checks that can't be eliminated
<kaustuv>
Not entirely sure, though.
<pokey2>
Well, ocaml is philosphically somewhat functional
verte_ has joined #ocaml
<pokey2>
Yes, I have a big project I am working on...big enough to justify learning a new language...
<Camarade_Tux>
unrelated but I wanted to mention a few things about xz/lzma2: 7zip 9 (because it was released in 2009) can extract xz files, a.k.a. lzma2 and tukaani's xz and 7zip will remain compatible
<pokey2>
I guess I will try 3.11.1 ocaml with -m64 and -arch x86_64
<pokey2>
I used the binary before.
<pokey2>
Anyway, thanks for all the help.
smimou has quit ["bli"]
smimou has joined #ocaml
<pokey2>
Wow, do I feel silly. I just installed from source using instructions for 64 bit on os x, and bootstrap, and sys.word_size says 64 bit
<pokey2>
that was easy
<pokey2>
Stupid me for being lazy and using the binary.
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
<Camarade_Tux>
:)
<pokey2>
and now, # #use "topfind" ;;
<pokey2>
File /usr/local/lib/ocaml/site-lib/findlib/findlib.cma is not a bytecode object file.
<pokey2>
File /usr/local/lib/ocaml/site-lib/findlib/findlib_top.cma is not a bytecode object file.
<pokey2>
- : unit = ()
<pokey2>
File "/usr/local/lib/ocaml/topfind", line 1, characters 0-1:
<pokey2>
Error: Reference to undefined global `Topfind'
authentic has quit [".."]
authentic has joined #ocaml
<Camarade_Tux>
pokey2: have you recompiled everything? if you've changed the ocaml bin, you have to change all the libs too
<pokey2>
yeah, but it gives the same error trying to reinstall findlib
<pokey2>
not a bytecode object file
verte has quit [Read error: 145 (Connection timed out)]
verte has joined #ocaml
<Camarade_Tux>
reinstall or recompile?
<pokey2>
recompile, right
<pokey2>
make all
<pokey2>
for p in findlib; do ( cd src/$p; make all ); done
<pokey2>
ocamldep *.ml *.mli >depend
<pokey2>
ocamlc -g -c ocaml_args.ml
<pokey2>
ocamlc -g -c frontend.ml
<pokey2>
File "frontend.ml", line 235, characters 6-13:
<pokey2>
Warning Y: unused variable pkgpath.
<pokey2>
File "frontend.ml", line 843, characters 6-18:
<pokey2>
Warning Y: unused variable eff_dontlink.
<pokey2>
File "frontend.ml", line 666, characters 6-13:
<pokey2>
Warning Y: unused variable destdir.
<pokey2>
File "frontend.ml", line 1351, characters 6-14:
<pokey2>
Warning Y: unused variable add_spec.
<pokey2>
File "frontend.ml", line 1345, characters 6-16:
<pokey2>
Error: The file findlib.cma is not a bytecode object file
<pokey2>
make[1]: *** [ocamlfind] Error 2
<pokey2>
make: *** [all] Error 2
<Camarade_Tux>
you could try godi actually, it will be better than compiling every package by hand ;)
<pokey2>
Yeah, but I half expect to need to do a custom configuration every time I compile something. Maybe I'm just unlucky.
<Camarade_Tux>
afaik godi works well enough on darwin but I'm not using so I can't guarantee that
Jedai has quit [Read error: 113 (No route to host)]
<pokey2>
Ah, you should have seen the look on the face of my friend who uses a macintosh from apple when I booted up my black monolith, went through the bios screen, entered verbose mode in the bootloader, and up came OS X.
<pokey2>
Can linux do THAT?
<Camarade_Tux>
hahaha :p
marmottine has quit [Read error: 110 (Connection timed out)]
marmottine has joined #ocaml
Cafuneba has quit ["Leaving."]
pokey2 has quit []
Associat0r has joined #ocaml
Associat0r has quit []
seafood has quit []
angerman has joined #ocaml
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
angerman has quit []
amuck_ has joined #ocaml
marmottine has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
Jedai has joined #ocaml
marmottine has joined #ocaml
_zack has joined #ocaml
marmottine has quit [Read error: 110 (Connection timed out)]
verte has quit ["~~~ Crash in JIT!"]
lutter1 has quit [No route to host]
marmottine has joined #ocaml
_zack has quit ["Leaving."]
LeCamarade is now known as LeCamarade|Away
sramsay has joined #ocaml
marmottine has quit [Read error: 104 (Connection reset by peer)]
willb has joined #ocaml
angerman has joined #ocaml
smimou has quit ["bli"]
smimou has joined #ocaml
willb has quit [Read error: 110 (Connection timed out)]
willb has joined #ocaml
travisbrady has joined #ocaml
_zack has joined #ocaml
_zack has quit [Client Quit]
jimmyb2187 has quit [Read error: 104 (Connection reset by peer)]
jimmyb21871 has joined #ocaml
anders^^ has quit [Read error: 110 (Connection timed out)]
Snark has quit ["Ex-Chat"]
anders^^ has joined #ocaml
travisbrady has quit [Read error: 104 (Connection reset by peer)]
travisbrady has joined #ocaml
Jedai has quit [Read error: 113 (No route to host)]
smimou has quit ["bli"]
bombshelter13_ has quit []
slash_ has quit [Read error: 110 (Connection timed out)]
svenl has quit [Remote closed the connection]
svenl has joined #ocaml
hkBst has quit [Read error: 104 (Connection reset by peer)]
_zack has joined #ocaml
aklt has joined #ocaml
slash_ has joined #ocaml
angerman has quit [Read error: 110 (Connection timed out)]
sramsay has quit ["Leaving"]
seafood has joined #ocaml
psnively has joined #ocaml
psnively has left #ocaml []
seafood has quit []
travisbrady has quit [Read error: 104 (Connection reset by peer)]
travisbrady has joined #ocaml
willb has quit [Read error: 110 (Connection timed out)]