His programming language doesnt automatically delete values from the heap as soon as they go out of scope

>his programming language doesnt automatically delete values from the heap as soon as they go out of scope

Attached: Screen Shot 2018-09-03 at 14.23.32.png (1178x612, 569K)

Attached: t_271e774b5d75044e189290d2d18015c0-imagejpeg.jpg (255x168, 10K)

dumb frogposter

Attached: f116919504.jpg (1500x3375, 1.4M)

>Being too much of a brainlet to keep track of memory

You may as well use electron, user

>his programming language does things he doesn't tell it to do
>what are smart pointers?

roll

Rollerino Pasterino

FUCKING PIECE OF SHIT, THAT'S NOT A WAIFU, FUCKING THOOOOOOT

>allocating memory dynamically


dumb rollposters

roll

use after frees make me moist :3

Attached: epic ass.jpg (960x960, 55K)

roll

I hope she has a feminine benis

Rollin

Does any programming language have such a naive garbage collector? That would be terrible

Rollin' rollin' rollin' lalilalilalalaa rawhide!

Roll

Asuka pls...

Rollerino

>as they go out of scope
>what is the stack

Attached: 1510908717760.png (499x338, 38K)

Rolling

>having a heap in the first place

>he uses heap allocation

Attached: soyboy.jpg (644x800, 63K)

Rollin'

This dumb frogposter doesn't even realize that memory reusing is a valuable optimization technique.

Rolll

I can't think of a single language that does that.
C++? No, that's RAII.
Python? Reference-counting plus GC.
C#? Java? JS? Those are just GC.
Swift? Just RC.
What would be the point of using heap allocation if you just forced it to be tied to a stack, anyway? Why not just use `alloca` with RAII if that's all you need? Remember, heap allocation is extremely slow compared to stack allocation, so if we need is dynamically-sized objects on a stack, we use a stack.

Fucking really re-roll

Okay

Also Onodera please

Redeemed

>his language relies on operating system-dependent abstractions and conveniences

Ryuko is mine fuck off

Attached: 70875131_p9.jpg (1099x988, 154K)

Roll

roll

Röl

Roll

roll

Rollin

rollan

r

It shouldn't because the gc should optimise garbage collection.

r

>He's so insecure he must do manual memory management to feel he's in control.

roll

rolling

roll

Roll

Roll

Rolland

Roll

roll

>my programming language isn't terribly designed
Uh okay? Thanks? Surely no language does unnecessary allocations/deallocations.

rollin

This is a great way to derail a thread

>his programming language abstracts hexadecimal values into opcodes
plebs

>declare a bunch of variables
>call a function
>those variables get nuked because they went out of scope
Amazing!

roll hope megumin is on there

roll for arthuria.

>Not knowing how to manage memory yourself but also enjoy languages with garbage collection for comfy development
C for memes, Java/python/javascript for good times.

Attached: boipussi.jpg (225x225, 4K)

Jow Forums is nothing but incels and faggots

Attached: 10294814.png (1828x822, 279K)

my wife Mikoto is so cute

Rollan

YES

>he needs someone else to pick up his trash after him.
bet your room looks like pic rel

Attached: 1528748550093.jpg (585x439, 56K)

roll

gfjc

rollerino

roll I guess

Here I go

...

roll

uh fine

rollll

Rolling
I dont even watch anime

rollan

rull

no

rawl

Roll

Um, a language such as that would be a very limiting one, if it doesn't have its own abstracted memory model.

>javascript for good times
lol

>:3
ask me how I know you've never exploited one

roll

shut up and roll
also reroll for rei

fucking kek

Roll

k y s

Roll

What if I want to use it later?

rolling for a loli

rolling for misaka

azusa GET

Attached: azunyan.gif (499x250, 918K)

>>his programming language doesnt automatically delete values from the heap as soon as they go out of scope
*cringe*

If the memory is done by the time it goes out of scope it shoudl never have been on the heap in the first fucking place

When would you need that? That's what the stack is for. In C++, you can also use unique_ptr for that if you want minimal impact on the stack.l

rolling

roll

what does Rust do with memory in addition to being just a meme?

Metaphorical roll

r o l l

kurisukurisu

Roll