[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is dynamic memory a meme?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 31
Thread images: 1

File: images (1).jpg (17KB, 340x432px) Image search: [Google]
images (1).jpg
17KB, 340x432px
Is dynamic memory a meme?
>>
in a dinosaur language like C, maybe
>>
Friend you're gonna need data outside of your function stack or the program image globals and statics. Does your program not grow at runtime ever?
>>
>>61720844
Mission-critical software developed by NASA's Jet Propulsion Lab (e.g. satellite firmware, interplanetary rovers, etc.) is not allowed to use malloc/free.
http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
>>
>>61720808
if has to be directly managed by the developer like in Cs, yes
>>
>>61720808
Retards use it all the time when often automatic memory is enough.
>>
If your program needs fast access to ALOT of array elements, no

else if your program is running on a device with memory constraints, no

else, yes.
>>
>>61720982
Why don't NASA use RUst?
>>
>>61720808
help I can't stop jacking off, I know Jesus said not to but I have Autism. I jack off 35 or 40 times per hour. Please help me
>>
>>61720982
Right because you're totally writing that sort of software.
>>
>>61720982
did you ever in your life consider that there are tools for different tasks?
>>
>>61720808
yeah
>>
>>61720982
>2017
>not fuzzing satellites
do you even technology
>>
>>61720808

Just use an interpreted language and stop trying to be a hero.
>>
>>61725333
Nigger.
>>
>>61725347

Wanna be
>>
>>61720808
Static allocating is fucking wonderful until you find you actually needed N+1 things, then You're Gonna Have a Bad Time(tm).
>>
>>61720808
>RAII

There, DM done.
>>
>>61725793
>He doesn't have VLAs
>>
>>61720982
It also has all available resources just for itself, which is not the case with regular software.
>>
>>61720820

Le "C is old language" meme!

: D
: D
: D
: D
: D
>>
>>61723299
>why doesn't NASA use language that's not mature and keeps constantly changing
>>
>>61728241
It literally is an old language.
>>
>>61728570
>latest standard is from 2011
>IT'S SO OLD OOOOOHH
>>
>>61728592
old doesn't mean dead dummy
>>
>>61728592
How does that even matter. It was created long ago therefore it's old.
>>
>>61720982
That's because you cannot give a good upper bound for malloc. If you need to write hard real-time software then you better be fucking sure how long your software takes at most.
>>
>>61728592
Standard updates have a point if they actually change something relevant. In C that hasn't been the case for a long time.
>>
>>61728570
At which point do you consider a language "old" ?

Is French an old language ? But Sumerian is one hell of a lot older, and makes French pass for a toddler.

Is C an old language ? It's almost 30 years younger than Plankalkül.
>>
>>61728592
>latest standard is from 2011
>2011
>6 years ago
Even the newest standard is old as fuck.
>>
>>61720808
WTF a whole book about fucking pointers, ffs!
You don't even have segmentation anymore

protected mode has been mainstream since before I fucking started with C and C++, like 1995 or something before it even with Dos4gw
Thread posts: 31
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.