Re: Vista security
- From: "cr88192" <cr88192@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Mar 2007 18:40:13 +1000
"Aaron Gray" <ang.usenet@xxxxxxxxx> wrote in message
news:56v86cF2a6kjtU1@xxxxxxxxxxxxxxxxxxxxx
"cr88192" <cr88192@xxxxxxxxxxxxxxxxxx> wrote in message
news:339d5$460a0fb9$ca83a8d6$20979@xxxxxxxxxxxxx
<snip>
ok.
me, I don't use C++ much myself.
one possible justification at this point is that it is doubtful I would
write a full C++ compiler, but C is simpler.
I am intending on writting my own open C++ compiler at some stage that you
can add language constructs and semantics too from the frontend. But first
I thought I should learn from the masters and port the existing GCC C++
frontend to C++, or at least see if it is possible.
C to C++ shouldn't be all that difficult (well, unless you are doing
something drastic, like trying to rework it to use OOP style or
somesuch...).
well, in my case I am mostly working off my script compiler as a base, every
so often getting around to working on it a little more (well, in my case, my
personal life, ... takes a higher priority than coding, so it is going
slow).
starting to work on modifying my compiler stage (from my script VM) to
output similar, but different, bytecode (main differences: C needs types,
everywhere, differences wrt opcode structure, jumps, ...).
in my case, for this compiler there will be no interpreter, rather it will
be JIT-only (the JIT being responsible for a lot of the low-level
optimizations). I eventually opted with making the bytecode focus on a stack
machine for simplicity reasons.
in some places I changed the workings of the bytecode for JIT-related
reasons (for example, all vars, labels, ... are now referenced
indirectly/symbolically, rather than with scope-indices, relative offsets,
....). this saves some on needing to regenerate this info.
or such...
or such ...
hmm...
.
- Follow-Ups:
- Re: Vista security
- From: Aaron Gray
- Re: Vista security
- References:
- Vista security
- From: Frits
- Re: Vista security
- From: Aaron Gray
- Re: Vista security
- From: cr88192
- Re: Vista security
- From: Aaron Gray
- Re: Vista security
- From: cr88192
- Re: Vista security
- From: Aaron Gray
- Vista security
- Prev by Date: Re: Machine English, Danish, Norwegian, Swedish, Dutch.
- Next by Date: Re: ALGOL to C
- Previous by thread: Re: Vista security
- Next by thread: Re: Vista security
- Index(es):
Relevant Pages
|