Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Noob <root@127.0.0.1> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: alignment shame (?) |
| Date | 2012-11-30 10:46 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <k99v32$3um$1@dont-email.me> (permalink) |
| References | <d2e6ec85-00bb-400a-a1b1-24f8711a2c2a@googlegroups.com> |
fir wrote: > I am not sure how it is in c, but alignment seem > to be mess in the world of c and c++ You're not sure for C, but you know for C? > Is it standarized as to today state of these languages? As far as C is concerned, yes. https://en.wikipedia.org/wiki/C11_%28C_standard_revision%29 _Alignas specifier, alignof operator, aligned_alloc function, <stdalign.h> header file C++ is obviously off-topic in comp.lang.c > (to include such solution to language seem to be > easy for me, just some thing like > > align(4096) int table[4096]; > > or some better looking modifier that could be > used for any thing needed to be define aligned) Why don't you define your own language, or write your own compiler with extensions, and stop trolling this newsgroup, then?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 01:25 -0800
Re: alignment shame (?) Noob <root@127.0.0.1> - 2012-11-30 10:46 +0100
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 03:24 -0800
Re: alignment shame (?) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-11-30 05:22 -0800
Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 08:52 -0500
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 06:55 -0800
Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 06:56 -0800
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 07:17 -0800
Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 07:42 -0800
Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 11:45 -0500
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 09:42 -0800
Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 10:57 -0800
Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 14:07 -0500
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 11:38 -0800
Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 09:33 -0800
csiph-web