logs archiveIRC Archive / Undernet / #asm / 2006 / August / 21 / 1
C
1 client should have been opped.
Your_Ass
I thought you guys should know, Timmy (SpanxMFCS,SMFCS) died yesterday.
EwIck
what happened
Your_Ass
he died in his sleep
EwIck
huh
he was like .. 30, not even
Your_Ass
either an accidental overdose of sleeping pills, or he vommited and choked to death.
EwIck
I see
Your_Ass
he was 23 or 24
he was in a wheel chair
he had rhumatoid arthritis since he was born, and complications from that caused him a lot of problems
its kind of a long story, but tim has never been in good health.
EwIck
yeah I kind of remember his situation
         

dbtid
he was famous in the linux community wasn't he?
acme_
hi
hi all
in anybody home ?
?
good day
dbtid
sleeping
acme_
i have only one question, maybe you could ... ?
please
malfunc
why don't you just ask?
acme_
ok
how long can it take to write the compiler from "c" to .exe file for good programmer ?
dbtid
you want to write a C compiler?
acme_
yes
dbtid
let's use gcc as an example
it's been around for about 15 years
it's STILL not done...
does that help?
malfunc
i'd say it depends on what you actually want. a very optimizing compiler is probably much harder to write than a simple and pretty "stupid" one
dbtid
and the parsing is the easy part
you can use lexx & yacc for that
acme_
thank you, i will explane you now..
dbtid
analysis, optimization, and code generation are much more difficult
if you can explain malfunc we'll all be grateful
:P
malfunc
and there are downloadable C grammars out there which can be used with lexx/yacc
dbtid: nah, my knowledge is very small about that topic
dbtid
malfunc: that was a joke
malfunc
ok, i will laugh about it when i have some time left :P
i wasn't expecting a joke from YOU ;)
acme_
i want that my programm on "c" generetes the code on "c" (function). then i will compile it (function) in memory, and then run it from my main programm.
dbtid
acme_: you want a JIT compiler
that's fine
you can find those
there are a couple of them out there i think
i know there are some interpreters (is it small c?) that do that
acme_
you know, i can use normal c compiler for that, but it works slow, while i must run .exe file from compiler..
running of exe file must be very slow, because of itin memory for example..
dbtid
unless this is a homework assignment, there are better ways to do such things
         

acme_
what do you mean ?
dbtid
there are better ways to write code to do such things than to generate C code
other languages that have a lot more density, for example: tcl, perl, python, etc.
acme_
ah.. you mean the languages those run only with virtual machine ?
dbtid
no
what host OS are you using?
acme_
windows xp
dbtid
so why are you worried about virtual machines?
acme_
ok, moment.. you said perl, python. these languages need interpreter, right ?
was is stupid sentense from me ?
brb 5m
dbtid
yes, they're all interpreted
so is tcl (it does byte code compilation; go ask in #tcl)
acme_
thank you very much for your advise !
dbtid
have fun
acme_
i will go to tcl, byebye
dbtid
incidentally
you can link TCL libraries into your C program
so you can send the interpreter things to do and it will do them in the context of your program
OR you can talk to a Tcl application via a connection and request it to do things in its own context
acme_
i see, ty :)
next »