Variable size/Set: Difference between revisions

Content added Content deleted
Line 340: Line 340:
</tr>
</tr>
</table>
</table>

=={{header|Racket}}==
Like many other highlevel languages, Racket doesn't have direct control on object sizes. More than that, objects are almost always references, so holding a vector or a list still starts from some object with pointers to the rest. It is possible, however, to create random ffi structs with some given length, by using something like <tt>(_array _byte N)</tt> and it's possible to add that to some other ffi type by wrapping it with such an array in a struct. But to create and manage chunks of memory, it's much better to just use <tt>malloc</tt> (which is also available via the ffi).


=={{header|REXX}}==
=={{header|REXX}}==