Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #18991

Re: things i would ban from clc

Message-ID <4F6D8679.5040606@loria.fr> (permalink)
Date 2012-03-24 09:31 +0100
From Jens Gustedt <jens.gustedt@loria.fr>
Newsgroups comp.lang.c
Subject Re: things i would ban from clc
References (17 earlier) <jjtk44$hih$1@speranza.aioe.org> <kfny5qxjvzf.fsf@x-alumni2.alumni.caltech.edu> <20120323121849.635@kylheku.com> <4F6CFDF6.1020101@loria.fr> <20120323223911.490@kylheku.com>
Organization Guest of ProXad - France

Show all headers | View raw


Am 03/24/2012 06:45 AM, schrieb Kaz Kylheku:
> On 2012-03-23, Jens Gustedt <jens.gustedt@loria.fr> wrote:
>> Am 03/23/2012 08:43 PM, schrieb Kaz Kylheku:
>>
>>> A multi-threading API in which a thread cannot pass a pointer to automatic
>>> storage into some module, such that this module can then execute code on
>>> another thread which accesses that memory, is about as useful as
>>> tits on a bull.
>>
>> Yes, it is probably quite useless. On the other hand C11 says in 6.2.4
>> p 5
>>
>> "The result of attempting to indirectly access an object with
>> automatic storage duration from a thread other than the one with which
>> the object is associated is implementation-defined."
> 
> This kind of waffling is pointless word semantics. Regardless of whether you
> require this, or allow implementations to duck out of it, there will be the
> pretty much exactly the same implementations in the world with the same
> capabilities.
> 
> It's just a question of whether they are marked as nonconforming
> on this account, or conforming but with a reduced functionality.
> 
> To someone coding in the proverbial trenches, it makes no difference.
> 
> Morally speaking, implementations that break stuff like this shuld be deemed
> nonconforming, in a kind of "hall of shame".
> 
> Standards should be bold and just require stuff to work, and not waste words on
> waffling.

You are ranting a bit quickly, I find.

Such a thing partially covers existing practice for programming e.g on
GPUs, where you have something like global memory that all PE can
access, statically identified of some sort or malloced, and local
memory that is restricted to PE and thus to the thread.

I am personally not a great fan of CUDA but if one day they could map
the new thread model on this, this would probably a big progress.

Jens

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

things i would ban from clc jgk@panix.com (Joe keane) - 2012-03-11 23:05 +0000
  Re: things i would ban from clc Keith Thompson <kst-u@mib.org> - 2012-03-12 10:33 -0700
    Re: things i would ban from clc gazelle@shell.xmission.com (Kenny McCormack) - 2012-03-12 23:57 +0000
  Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-12 18:44 +0100
    Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-12 12:26 -0700
      Re: things i would ban from clc "osmium" <r124c4u102@comcast.net> - 2012-03-12 14:36 -0600
        Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-12 13:57 -0700
      Re: things i would ban from clc James Kuyper <jameskuyper@verizon.net> - 2012-03-12 17:34 -0400
        Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-12 15:00 -0700
          Re: things i would ban from clc James Kuyper <jameskuyper@verizon.net> - 2012-03-12 18:21 -0400
            Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-12 15:43 -0700
              Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-12 23:53 +0100
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-12 17:17 -0700
                Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-13 09:09 +0100
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 01:24 -0700
                Re: things i would ban from clc Keith Thompson <kst-u@mib.org> - 2012-03-13 05:59 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 10:55 -0700
                Re: things i would ban from clc blp@cs.stanford.edu (Ben Pfaff) - 2012-03-13 11:07 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 11:25 -0700
                Re: things i would ban from clc blp@cs.stanford.edu (Ben Pfaff) - 2012-03-13 11:32 -0700
                Re: things i would ban from clc Keith Thompson <kst-u@mib.org> - 2012-03-13 12:18 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 16:13 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 13:49 -0700
                Re: things i would ban from clc James Kuyper <jameskuyper@verizon.net> - 2012-03-13 17:14 -0400
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 14:35 -0700
                Re: things i would ban from clc James Kuyper <jameskuyper@verizon.net> - 2012-03-13 18:09 -0400
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 16:06 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-14 08:18 +0100
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-14 10:07 +0100
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-14 12:41 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-14 21:53 +0100
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 14:16 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-18 07:14 +0100
                Re: things i would ban from clc Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-14 10:39 +0100
                Re: things i would ban from clc Ben Pfaff <blp@cs.stanford.edu> - 2012-03-13 14:33 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 14:40 -0700
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-13 16:25 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-14 00:51 -0700
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-14 14:25 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 13:40 -0700
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-18 17:05 -0700
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-23 11:59 -0700
                Re: things i would ban from clc Robert Wessel <robertwessel2@yahoo.com> - 2012-03-23 17:02 -0500
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-23 16:51 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-24 07:16 +0100
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-27 11:26 -0700
                Re: things i would ban from clc Kaz Kylheku <kaz@kylheku.com> - 2012-03-23 19:43 +0000
                Re: things i would ban from clc Rui Maciel <rui.maciel@gmail.com> - 2012-03-23 19:45 +0000
                Re: things i would ban from clc Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-23 23:49 +0100
                Re: things i would ban from clc Ian Collins <ian-news@hotmail.com> - 2012-03-24 11:54 +1300
                Re: things i would ban from clc Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-24 09:26 +0100
                Re: things i would ban from clc gwowen <gwowen@gmail.com> - 2012-03-26 07:31 -0700
                Re: things i would ban from clc Kaz Kylheku <kaz@kylheku.com> - 2012-03-24 05:45 +0000
                Re: things i would ban from clc Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-24 09:31 +0100
                Re: things i would ban from clc James Kuyper <jameskuyper@verizon.net> - 2012-03-13 14:34 -0400
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-13 16:18 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-14 08:18 +0100
                Re: things i would ban from clc Tim Rentsch <txr@alumni.caltech.edu> - 2012-03-14 14:06 -0700
                Re: things i would ban from clc Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-15 15:22 +0000
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 12:26 -0700
                Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-15 21:28 +0100
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 13:49 -0700
                Re: things i would ban from clc Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-03-15 16:36 +0000
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 12:16 -0700
                Re: things i would ban from clc Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-03-16 00:13 +0000
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-15 20:40 -0700
                Re: things i would ban from clc gwowen <gwowen@gmail.com> - 2012-03-13 01:52 -0700
                Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-13 11:31 +0100
                Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-13 11:41 +0100
                Re: things i would ban from clc gwowen <gwowen@gmail.com> - 2012-03-13 06:06 -0700
                Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-13 15:06 +0100
                Re: things i would ban from clc ImpalerCore <jadill33@gmail.com> - 2012-03-13 07:46 -0700
                Re: things i would ban from clc jacob navia <jacob@spamsink.net> - 2012-03-13 19:08 +0100
                Re: things i would ban from clc Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-03-13 13:20 +0000
                Re: things i would ban from clc Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-13 20:41 +0100
                Re: things i would ban from clc Kaz Kylheku <kaz@kylheku.com> - 2012-03-13 19:34 +0000
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 16:14 -0700
                Re: things i would ban from clc Kaz Kylheku <kaz@kylheku.com> - 2012-03-13 23:28 +0000
                Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 21:18 -0700
      Re: things i would ban from clc Ian Collins <ian-news@hotmail.com> - 2012-03-13 20:19 +1300
        Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-13 01:09 -0700
          Re: things i would ban from clc Ian Collins <ian-news@hotmail.com> - 2012-03-13 21:32 +1300
  Re: things i would ban from clc nick_keighley_nospam@hotmail.com - 2012-03-13 01:52 -0700
    Re: things i would ban from clc "io_x" <a@b.c.invalid> - 2012-03-13 11:31 +0100
      Re: things i would ban from clc nick_keighley_nospam@hotmail.com - 2012-03-14 01:18 -0700
        Re: things i would ban from clc Don Y <this@isnotme.com> - 2012-03-14 12:09 -0700
  Re: things i would ban from clc ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-03-14 13:01 -0700

csiph-web