logs archiveBotHelp.net / Freenode / #2f30 / 2015 / July / 15 / 2
kori
yes
FRIGN
kori: gz, your first confirmed kill :P
kori
nah dota has eaten my memory in the past
Evil_Bob
FRIGN: lol yea, seems like a useful tool though, found some issues with it, will fix them tomorrow :)
FRIGN
Evil_Bob: what do you mean?
which tool?
Evil_Bob
the race detector in Go
xenkey
HI
Went for FreeBSD in the end
FRIGN
oh yeah
Evil_Bob
lol http://i.imgur.com/o38GEjz.jpg
FRIGN
Evil_Bob: Haha, yeah I saw that
Let's post this on lobsters
people will go all philosophical and sh*t about it
stateless: You nailed it
:)
Evil_Bob
did i miss something?
FRIGN: nailed what? :P
uggedal
your mom
stateless
http://git.suckless.org/scc/
Evil_Bob, ^ :)
the new world order has just begun
FRIGN
stateless: It looks cool
but it sadly is for an arch I've never heard of ^^
stateless
FRIGN, will be retargetted
at some point, it will be easy to retarget
it is a lot of work :P
to get there
:)
FRIGN
okay
:D
atmc
stateless: now its deep in the rabbit hole
stateless
setting up an iked/ipsec tunnel is trivial
k0ga
stateless: this code:
stateless
now I can forward all my traffic through it
k0ga
main(void)
{ char a, b, c;
a = b + (c + 3) -1;
}
FRIGN
stateless: the cpp is just genius!
stateless
will write a guide soon
k0ga
generates:
PUSH IX
LD IX,SP
PUSH HL
LD A,(IX+6)
DEC A
ADD A,(IX+4)
INC A
LD (IX+2),A
L1000: LD SP,IX
POP IX
RET
(there is an obvious error, because INC and DEC are switched, but forget it ;))
stateless
I _love_ caps asm
I read it as it was scrolling
very clean
k0ga
stateless: and separated with tabs!
of course
stateless
k0ga, so the computation is done on half-words?
FRIGN
k0ga: can you put besides it what gcc generates?
stateless
2 bytes each
FRIGN, something unreadable
k0ga
stateless: it is an optimization
the value is assigned to a char
so the upper byte is useless
stateless
yes
nice
k0ga, very nice
k0ga, btw
k0ga
in z80 16bit operations are costly
stateless
do you intend to generate "portable" asm?
or will the asm be target specific?
k0ga
the original idea was generate object files, without passing by the assembler
stateless
golang now uses a portable asm syntax
right
as long as one can take the IR and do whatever it wants with it
should be good
k0ga
but, I don;t know if it is a good idea for x86/amd64
s/;/'/
stateless
I kinda would like it to generate asm
not necessarily portable asm but asm
we can write an assembler or use gnu as
k0ga
the good thing of generating object files is that is faster
stateless
yeah
but you need elf knowledge in the compiler?
k0ga
stateless: if you generate real object files then yes
kencc generates custom object files
stateless
right now, you generate flat object files?
k0ga
stateless: at this point cc2 generates asm because is easier for me t odebug it, but all the data structures are ready for the direct object generation
stateless
yes
I see
k0ga
before of doing any work of the migration, I want to fix some things of the embedded preprocessor
Evil_Bob
stateless: k0ga awesome :)
stateless
k0ga, will you accept a small patch?
atmc
i make so many merges accidently to my git repo :D
stateless
to build on OpenBSD
k0ga
stateless: doxen of them ;)
dozem
dozen
« prev 1 2 3 4 5 next »