StackOverflow Questions for Tag: alloca

Vaibhav
Vaibhav

Reputation: 5947

Why is the use of alloca() not considered good practice?

Score: 512

Views: 213998

Answers: 26

Read More
Joseph Garvin
Joseph Garvin

Reputation: 21974

Is it possible to use alloca for C++ coroutines?

Score: 3

Views: 186

Answers: 1

Read More
Hassan Syed
Hassan Syed

Reputation: 20496

Why is clang's `-O3` alloca 2x faster than g++ on a simplistic alloca benchmark

Score: 5

Views: 1280

Answers: 1

Read More
bugmagnet
bugmagnet

Reputation: 7769

How do I use _malloca instead of _alloca in Win32 C++ project?

Score: 0

Views: 1029

Answers: 2

Read More
Andreas H.
Andreas H.

Reputation: 6105

can we use alloca() or variable length array extentions in c++20 coroutines?

Score: 11

Views: 458

Answers: 2

Read More
Anindya Sengupta
Anindya Sengupta

Reputation: 2589

alloc, malloc, and alloca — What's the difference?

Score: 45

Views: 92612

Answers: 3

Read More
B-rad
B-rad

Reputation: 55

Why is stack memory usage in C++ determined at compile time?

Score: 2

Views: 378

Answers: 3

Read More
user23112128
user23112128

Reputation:

More non-standard ways of allocating arbitary space on stack

Score: 0

Views: 144

Answers: 2

Read More
Peter Wu
Peter Wu

Reputation: 275

How did alloca() interact with other stack allocation?

Score: 0

Views: 234

Answers: 1

Read More
CodeSurgeon
CodeSurgeon

Reputation: 2465

Implementing the defer keyword in C

Score: 2

Views: 2845

Answers: 1

Read More
glades
glades

Reputation: 4848

How does alloca() work on a memory level?

Score: 47

Views: 5385

Answers: 4

Read More
Phridge
Phridge

Reputation: 147

Can alloca() memory be reallocated?

Score: 9

Views: 1088

Answers: 2

Read More
Coffee
Coffee

Reputation: 13

Fragmentation-Does Anyone know what the alignment of _alloca() is?

Score: 0

Views: 51

Answers: 0

Read More
Thomas
Thomas

Reputation: 6196

Growing an array on the stack

Score: 2

Views: 616

Answers: 7

Read More
Cartesius00
Cartesius00

Reputation: 24414

Header alloca.h in Windows

Score: 23

Views: 20874

Answers: 2

Read More
dsimcha
dsimcha

Reputation: 68770

Alloca implementation

Score: 38

Views: 14630

Answers: 12

Read More
Sandro
Sandro

Reputation: 2796

strdupa() implementation for Visual C

Score: 1

Views: 211

Answers: 2

Read More
glades
glades

Reputation: 4848

What happens to members of a stack-allocated class put down with placement new on scope end?

Score: 0

Views: 38

Answers: 1

Read More
ljleb
ljleb

Reputation: 312

Allocating structs of arbitrary constant size on the stack

Score: 0

Views: 84

Answers: 1

Read More
Marco
Marco

Reputation: 7287

Wrap alloca function in C

Score: 1

Views: 333

Answers: 2

Read More
PreviousPage 1Next