C = only language that easily deals with shared mem. access ?

S

Spendius

Hi,
I've been searching for a few days which languages allow to
access zones of the shared memory, and the conclusion is that
C's (& C++ I guess) are the only one that permits that isn't it ?
(in fact I've only checked Java, Perl and Python)
The IPC::Shareable API in Perl doesn't look like it's widely used,
in Java there's nothing, the same in Python.

Am I mistaken ?

Thanks.
Spendius
 
D

Dan Pop

In said:
I've been searching for a few days which languages allow to
access zones of the shared memory, and the conclusion is that
C's (& C++ I guess) are the only one that permits that isn't it ?
(in fact I've only checked Java, Perl and Python)
The IPC::Shareable API in Perl doesn't look like it's widely used,
in Java there's nothing, the same in Python.

Am I mistaken ?

Yes. C provides zilch support for *any* form of IPC, except ordinary
files.

Dan
 
M

Mark McIntyre

Hi,
I've been searching for a few days which languages allow to
access zones of the shared memory, and the conclusion is that
C's (& C++ I guess) are the only one that permits that isn't it ?

In fact neither C nor C++ supports shared memory (assuming we mean the same
thing by that ie memory shared between different processes, possibly
between different processors or even network nodes).

There are /platform specific/ extensions to both languages which do that. I
can think of no reason why you couldn't use those from other languages too,
with some jiggery pokery.
Am I mistaken ?

I think so, yes. But its heavily OT here, you'd be better to ask in a group
that specialises in your hardware / OS.
 
M

Michael Mair

Spendius said:
"heavily OT here": what does 'OT' mean ?

OT = off topic.
comp.lang.c deals only with the C language itself as it is
defined by either the C89/90 or the C99 standard.
As the traffic here is rather high, the regulars expect and
demand topicality of questions and demands in order to not
waste their time with stuff better treated elsewhere. Which
is the next thing: Another newsgroup may deal with exactly
your problem, so you get better answers there instead of
here where possibly nobody knows the things by heart.


Cheers
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top