@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12



Comments:

<0> I mean... I come from a time where we had 2 kb (finally my paranoia about memory usage is useful again heh)
<1> i've never had to constrain to anything less than... 256mb maybe? heh
<2> i guess 'new uses the heap cuz we have heap yeah
<0> If he has 4kb RAM and only a stack - then I suppose he'd want to allocate everything on the stack. I can't think of a working program in 4b of ram that uses malloc :/



<1> well, new gets its memory by calling operator new
<2> we wrote our own threading system, its kinda nice seriously
<2> rdragon, doesnt it use heap memory?
<0> Anyway - I feel I'm wasting my time here. With 4kb you should be coding in ***embly, period.
<1> not necessarily
<1> depends on how operator new is implemented
<1> how do you know how much memory is 'free' ?
<0> threading? dynamic memory? C++? I think he means Mb instead of kb.
<1> uX is it really 2k? (2048 bytes) ?
<3> that's one of the smaller ones they make
<3> we gave up w our 8Kb one and switched to Atmel
<1> what do you need to allocate dynamically, anyway?
<2> hey folks sorry, we have 144K for instructions, but 2Ko for stack/heap
<1> heh
<1> how big is 2Ko ?
<3> they make one that big these days?



<0> 2048 octets
<4> o = octet = byte
<0> uX: How large is in 'int' in that operating system?
<2> hmm yup
<2> 2 bytes
<2> long is 4
<0> Does it need to be aligned?
<2> i have no clue
<0> Seems interesting to know... if you only have 2Ko
<3> uX what's the model of the chip?
<2> dsPIC 74A from MicroChips i think
<1> can you put data in the 'instruction memory'?
<0> lol
<0> I used to put execution code in the "video buffer" (was just RAM in that time, the screen memory).
<1> heh
<0> Only had 48 kB in total then for everything.
<1> ah well, gotta run... interview turned out to be a no-show, guess they got busy


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#linuxhelp
#c
#AllNiteCafe
#linuxhelp
hxejta
MARA SHUNA
#mirc
#linux
Insufficient semaphores to handle number of concurrent
mysql subqueris



Home  |  disclaimer  |  contact  |  submit quotes