<zsparks>
It's giving me an error saying I didn't compile with -g, even though I did; any clues?
<zsparks>
(I am probably compiling it wrong, but I'm not really sure how)
ankit9 has quit [Quit: Leaving]
sebz has quit [Quit: Computer has gone to sleep.]
edwin has joined #ocaml
Julien_Tz has joined #ocaml
Julien_Tz is now known as Julien_T
sebz has joined #ocaml
larhat has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
sebz has left #ocaml []
Cyanure has joined #ocaml
bobry1 has joined #ocaml
ikaros has joined #ocaml
ikaros has quit [Client Quit]
ikaros has joined #ocaml
ikaros has quit [Client Quit]
ikaros has joined #ocaml
Snark has joined #ocaml
StepanKuzmin has joined #ocaml
StepanKuzmin has quit [Remote host closed the connection]
StepanKuzmin has joined #ocaml
StepanKuzmin has quit [Remote host closed the connection]
StepanKuzmin has joined #ocaml
rby has joined #ocaml
thomasga has joined #ocaml
edwin has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 255 seconds]
StepanKuzmin has quit [Read error: Connection reset by peer]
Tianon has quit [Ping timeout: 255 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
malc_ has joined #ocaml
StepanKuzmin has joined #ocaml
Amorphous has joined #ocaml
sgnb has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
usualsuspect has joined #ocaml
<usualsuspect>
Hi!
<usualsuspect>
I just started dabbling with Ocaml, and I'm trying to write a simple uhm virtual machine basically. I've got an instruction type like "Add of reg * reg" "Sub of reg * reg"
<usualsuspect>
but I'm unsure how to store persistent data for registers. I'm having a hard time explaining it. In other languages I'd just use a dict/hashmap like context[reg] = ...
<usualsuspect>
What's the ML way for that? ;)
sgnb has joined #ocaml
<malc_>
usualsuspect: what's wrong with using struct or array for your registers?
<usualsuspect>
mh I don't know, I felt like I should avoid them ;)
lamawithonel has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Remote host closed the connection]
lamawithonel_ has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
lamawithonel__ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
_andre has joined #ocaml
lamawithonel__ has quit [Ping timeout: 255 seconds]
lamawithonel has quit [Ping timeout: 255 seconds]
malc_ has quit [Quit: leaving]
lopex has joined #ocaml
StepanKuzmin has quit [Read error: Connection reset by peer]
StepanKuzmin has joined #ocaml
larhat1 has joined #ocaml
larhat has quit [*.net *.split]
Modius has quit [Ping timeout: 252 seconds]
edwin has joined #ocaml
iratsu has quit [Ping timeout: 255 seconds]
StepanKuzmin has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
Modius has joined #ocaml
mfp has quit [Quit: Leaving]
mfp has joined #ocaml
mfp has quit [Client Quit]
mfp has joined #ocaml
iratsu has joined #ocaml
<thelema>
usualsuspect: You're welcome to use Hashtbl, which is the closest thing to a hashmap. If you want an immutable data structure, use a Map, and if you want top performance, use integers to number your registers and use an array.
ymasory has joined #ocaml
usualsuspect has quit [Ping timeout: 260 seconds]
usualsuspect has joined #ocaml
usualsuspect has quit [Quit: leaving]
larhat1 has quit [Quit: Leaving.]
thieusoai has quit [Read error: Connection reset by peer]
bobry1 has quit [Remote host closed the connection]
dgfitch has left #ocaml []
lopex has quit []
yezariaely has joined #ocaml
yezariaely has left #ocaml []
ulfdoz has joined #ocaml
Cyanure has quit [Remote host closed the connection]
joewilliams_away is now known as joewilliams
bobry1 has joined #ocaml
ulfdoz_ has joined #ocaml
avsm has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 252 seconds]
ulfdoz_ is now known as ulfdoz
krktz has quit [Remote host closed the connection]
iratsu has quit [Ping timeout: 240 seconds]
ymasory has quit [Ping timeout: 260 seconds]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
bobry has quit [Remote host closed the connection]
bobry has joined #ocaml
Obfuscate` has quit [Ping timeout: 246 seconds]
Ptival has joined #ocaml
othiym23 has joined #ocaml
Obfuscate` has joined #ocaml
todun has joined #ocaml
oriba has joined #ocaml
todun has quit [Quit: :s]
jamii has joined #ocaml
jamii has quit [Ping timeout: 264 seconds]
todun has joined #ocaml
bobry has quit [Quit: Leaving.]
bobry has joined #ocaml
jamii has joined #ocaml
krktz has joined #ocaml
lopex has joined #ocaml
ftrvxmtrx has joined #ocaml
Snark has quit [Quit: Quitte]
Obfuscate` is now known as Obfuscate
iratsu has joined #ocaml
thomasga has quit [Quit: Leaving.]
Cyanure has joined #ocaml
todun has quit [Quit: :s]
oriba has quit [Quit: oriba]
eb4890 has joined #ocaml
todun has joined #ocaml
avsm has joined #ocaml
iratsu has quit [Remote host closed the connection]
avsm has quit [Client Quit]
_andre has quit [Ping timeout: 255 seconds]
jamii has quit [Ping timeout: 255 seconds]
ulfdoz has quit [Ping timeout: 258 seconds]
_andre has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
jamii has joined #ocaml
_andre has quit [Quit: leaving]
avsm has joined #ocaml
ftrvxmtrx has joined #ocaml
jamii has quit [Ping timeout: 252 seconds]
edwin has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
avsm has quit [Quit: Leaving.]
lamawithonel has joined #ocaml
todun has quit [Quit: :q]
iratsu has joined #ocaml
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
Cyanure has quit [Remote host closed the connection]