Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

On-line code generation

144 views
Skip to first unread message

woodb...@gmail.com

unread,
Nov 11, 2018, 1:51:02 PM11/11/18
to
Shalom

Would like a demo of the C++ Middleware Writer?
https://github.com/Ebenezer-group/onwards
A compiler with 2017 C++ support is needed to build
the software.

Comments on the code in the repo including these files:
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/wrappers.hh
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/cmwA.cc

are welcome. Thanks in advance.


Brian
Ebenezer Enterprises - Enjoying programming again.
http://webEbenezer.net

Melzzzzz

unread,
Nov 11, 2018, 2:13:48 PM11/11/18
to
On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
> Shalom
>
> Would like a demo of the C++ Middleware Writer?
> https://github.com/Ebenezer-group/onwards
> A compiler with 2017 C++ support is needed to build
> the software.

Why restrict possible users?



--
press any key to continue or any other to quit...

woodb...@gmail.com

unread,
Nov 11, 2018, 2:38:00 PM11/11/18
to
On Sunday, November 11, 2018 at 1:13:48 PM UTC-6, Melzzzzz wrote:
> On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > Shalom
> >
> > Would like a demo of the C++ Middleware Writer?
> > https://github.com/Ebenezer-group/onwards
> > A compiler with 2017 C++ support is needed to build
> > the software.
>
> Why restrict possible users?
>


As far as output from the code generator goes, only support
for 2011 C++ is needed. The support for 2017 C++ is
only needed to build the programs that are used to help
generate the code. So a compiler with 2017 C++ support
is needed initially to build the programs, but after
that you can use 2011 C++ if that's what you want.

Melzzzzz

unread,
Nov 11, 2018, 2:40:36 PM11/11/18
to
Look, I have programmed in C++2003 since last year, because compiler with
C++11 was not an option... depends on whom you target. Home users have
no problem with that, but companies do.

Rick C. Hodgin

unread,
Nov 11, 2018, 2:49:57 PM11/11/18
to
Brian,

It is admirable how you pursue your software, and reach
out to offer it to others. You have my respect and my
admiration in your diligence.

--
Rick C. Hodgin

woodb...@gmail.com

unread,
Nov 11, 2018, 2:53:51 PM11/11/18
to
On Sunday, November 11, 2018 at 1:40:36 PM UTC-6, Melzzzzz wrote:
> On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > On Sunday, November 11, 2018 at 1:13:48 PM UTC-6, Melzzzzz wrote:
> >> On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
> >> > Shalom
> >> >
> >> > Would like a demo of the C++ Middleware Writer?
> >> > https://github.com/Ebenezer-group/onwards
> >> > A compiler with 2017 C++ support is needed to build
> >> > the software.
> >>
> >> Why restrict possible users?
> >>
> >
> >
> > As far as output from the code generator goes, only support
> > for 2011 C++ is needed. The support for 2017 C++ is
> > only needed to build the programs that are used to help
> > generate the code. So a compiler with 2017 C++ support
> > is needed initially to build the programs, but after
> > that you can use 2011 C++ if that's what you want.
>
> Look, I have programmed in C++2003 since last year, because compiler with
> C++11 was not an option... depends on whom you target. Home users have
> no problem with that, but companies do.
>

Sorry, but my bottom line 2011 C++. I can't
help you if you want an older version. I know
there's a lot of software still on older versions,
but I made decision years ago to switch to 2011
C++ as the basis for my work. That decision helps
me in a number of ways, but it also has some
drawbacks.

Mr Flibble

unread,
Nov 11, 2018, 3:49:28 PM11/11/18
to
On 11/11/2018 19:49, Rick C. Hodgin wrote:
> Brian,
>
> It is admirable how you pursue your software, and reach
> out to offer it to others. You have my respect and my
> admiration in your diligence.

Nobody gives a fuck. Will you pair of bigoted homophobic misogynist
Christian fucktards please get a room.

/Flibble

--
“You won’t burn in hell. But be nice anyway.” – Ricky Gervais

“I see Atheists are fighting and killing each other again, over who
doesn’t believe in any God the most. Oh, no..wait.. that never happens.” –
Ricky Gervais

"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."

woodb...@gmail.com

unread,
Nov 11, 2018, 5:03:12 PM11/11/18
to
On Sunday, November 11, 2018 at 2:49:28 PM UTC-6, Mr Flibble wrote:

Please don't swear here. As far as I can tell on-line
code generation is where things are headed.


Melzzzzz

unread,
Nov 11, 2018, 5:27:41 PM11/11/18
to
On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
What things?

woodb...@gmail.com

unread,
Nov 11, 2018, 8:11:53 PM11/11/18
to
On Sunday, November 11, 2018 at 4:27:41 PM UTC-6, Melzzzzz wrote:
> On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > On Sunday, November 11, 2018 at 2:49:28 PM UTC-6, Mr Flibble wrote:
> >
> > Please don't swear here. As far as I can tell on-line
> > code generation is where things are headed.
>
> What things?

Free/quality things.

David Brown

unread,
Nov 12, 2018, 4:28:52 AM11/12/18
to
On 11/11/18 23:27, Melzzzzz wrote:
> On 2018-11-11, woodb...@gmail.com <woodb...@gmail.com> wrote:
>> On Sunday, November 11, 2018 at 2:49:28 PM UTC-6, Mr Flibble wrote:
>>
>> Please don't swear here. As far as I can tell on-line
>> code generation is where things are headed.
>
> What things?

His things. I don't think anyone else has seen any signs of this "heading".

I have no idea how good or bad Brian's code might be, or what use it
might be (it simply isn't something I need) - it could be a marvellous
system for all I know. But I /do/ know that his obsession with on-line
code generation is a guaranteed show-stopper for its wide-spread use.

A library for data serialisation is something people could use. A
program that inputs a data description and generates dedicated code for
serialising the data is something that people could use. A system that
uses on-line code generation to create the code you want? Useless for
almost everyone.



Kenny McCormack

unread,
Nov 13, 2018, 9:02:58 AM11/13/18
to
In article <4a608e69-f391-4f44...@googlegroups.com>,
Rick C. Hodgin <rick.c...@gmail.com> wrote:
>Brian,
>
>It is admirable how you pursue your software, and reach
>out to offer it to others. You have my respect and my
>admiration in your diligence.

Try as you may, I don't think he is going to date you.

--
In the corner of the room on the ceiling is a large vampire bat who
is obviously deranged and holding his nose.

woodb...@gmail.com

unread,
Nov 30, 2018, 2:03:56 PM11/30/18
to
First, the link above for wrappers.hh has changed. The new link is
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/Buffer.hh

Some may make fun of on-line code generation, but today
I'm trying to install the Intel C++ compiler. I got
"Checking the prerequisites. It can take several minutes.
Please wait...". That was over an hour ago and nothing has
happened. I'm sure there are hundreds of others across the
world who are having problems installing C++ compilers.
Some of them have realized they have a problem, but others
haven't even realized that their install is faulty yet.

On-line code generation minimizes the software that you have
to download/build/maintain, thereby avoiding most of these
install problems.


Brian
Ebenezer Enterprises
http://webEbenezer.net

woodb...@gmail.com

unread,
Nov 30, 2018, 10:42:52 PM11/30/18
to
On Friday, November 30, 2018 at 1:03:56 PM UTC-6, woodb...@gmail.com wrote:
> On Sunday, November 11, 2018 at 12:51:02 PM UTC-6, woodb...@gmail.com wrote:
> > Shalom
> >
> > Would like a demo of the C++ Middleware Writer?
> > https://github.com/Ebenezer-group/onwards
> > A compiler with 2017 C++ support is needed to build
> > the software.
> >
> > Comments on the code in the repo including these files:
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/wrappers.hh
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/cmwA.cc
> >
> > are welcome. Thanks in advance.
> >
> >
> > Brian
> > Ebenezer Enterprises - Enjoying programming again.
> > http://webEbenezer.net
>
> First, the link above for wrappers.hh has changed. The new link is
> https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/Buffer.hh
>
> Some may make fun of on-line code generation, but today
> I'm trying to install the Intel C++ compiler. I got
> "Checking the prerequisites. It can take several minutes.
> Please wait...". That was over an hour ago and nothing has
> happened.

The problem was that I wasn't using sudo when running
the install program. It hit me a few minutes ago that
that might be the problem. An error message would have
helped.

woodb...@gmail.com

unread,
Dec 1, 2018, 3:20:37 PM12/1/18
to
On Friday, November 30, 2018 at 9:42:52 PM UTC-6, woodb...@gmail.com wrote:
> On Friday, November 30, 2018 at 1:03:56 PM UTC-6, woodb...@gmail.com wrote:
> >
> > First, the link above for wrappers.hh has changed. The new link is
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/Buffer.hh
> >
> > Some may make fun of on-line code generation, but today
> > I'm trying to install the Intel C++ compiler. I got
> > "Checking the prerequisites. It can take several minutes.
> > Please wait...". That was over an hour ago and nothing has
> > happened.
>
> The problem was that I wasn't using sudo when running
> the install program. It hit me a few minutes ago that
> that might be the problem. An error message would have
> helped.
>

Intel has a bunch of analysis and debugging related tools
that sound great. I wasn't impressed, though with their
C++ compiler. It produced chubby (text) segments compared
to gcc or even clang.

Scott Lurndal

unread,
Dec 2, 2018, 11:14:40 AM12/2/18
to
woodb...@gmail.com writes:

>Intel has a bunch of analysis and debugging related tools
>that sound great. I wasn't impressed, though with their
>C++ compiler. It produced chubby (text) segments compared
>to gcc or even clang.

A more useless metric for code quality is hard to imagine.

woodb...@gmail.com

unread,
Dec 2, 2018, 1:03:17 PM12/2/18
to
I should note that I'm using -Os to build. Here's an example
of the output of the 'size' command:

text data bss dec hex filename
45936 2400 1584 49920 c300 icc.cmwA
35009 1232 8 36249 8d99 clang.cmwA
27782 1176 8 28966 7126 gcc.cmwA


Why does icc produce such a big bss segment? Those bytes
have to be zeroed out before the program runs. Somehow
icc makes clang look good.


Brian
Ebenezer Enterprises - "This year, Jews around the world will celebrate
Hanukkah from Sunday at sundown until Dec. 10 at sundown. While the
holiday is widely known as the Festival of Lights, it is really the
Festival of Miracles." https://www.foxnews.com/opinion/rabbi-tuly-weisz-hanukkah-is-not-just-a-festival-of-lights-but-a-festival-of-miracles

Richard Damon

unread,
Dec 2, 2018, 2:30:19 PM12/2/18
to
On 12/2/18 1:03 PM, woodb...@gmail.com wrote:
> On Sunday, December 2, 2018 at 10:14:40 AM UTC-6, Scott Lurndal wrote:
>> woodb...@gmail.com writes:
>>
>>> Intel has a bunch of analysis and debugging related tools
>>> that sound great. I wasn't impressed, though with their
>>> C++ compiler. It produced chubby (text) segments compared
>>> to gcc or even clang.
>>
>> A more useless metric for code quality is hard to imagine.
>
> I should note that I'm using -Os to build. Here's an example
> of the output of the 'size' command:
>
> text data bss dec hex filename
> 45936 2400 1584 49920 c300 icc.cmwA
> 35009 1232 8 36249 8d99 clang.cmwA
> 27782 1176 8 28966 7126 gcc.cmwA
>
>
> Why does icc produce such a big bss segment? Those bytes
> have to be zeroed out before the program runs. Somehow
> icc makes clang look good.
>
>
> Brian
>

I suppose you could look at the linker map and see what things were put
into the bss segment.

Mr Flibble

unread,
Dec 2, 2018, 5:42:54 PM12/2/18
to
On 02/12/2018 18:03, woodb...@gmail.com wrote:
> On Sunday, December 2, 2018 at 10:14:40 AM UTC-6, Scott Lurndal wrote:
>> woodb...@gmail.com writes:
>>
>>> Intel has a bunch of analysis and debugging related tools
>>> that sound great. I wasn't impressed, though with their
>>> C++ compiler. It produced chubby (text) segments compared
>>> to gcc or even clang.
>>
>> A more useless metric for code quality is hard to imagine.
>
> I should note that I'm using -Os to build. Here's an example
> of the output of the 'size' command:
>
> text data bss dec hex filename
> 45936 2400 1584 49920 c300 icc.cmwA
> 35009 1232 8 36249 8d99 clang.cmwA
> 27782 1176 8 28966 7126 gcc.cmwA
>
>
> Why does icc produce such a big bss segment? Those bytes
> have to be zeroed out before the program runs. Somehow
> icc makes clang look good.

It isn't a matter of concern and as such nobody cares about it except you.

Öö Tiib

unread,
Dec 3, 2018, 8:28:26 AM12/3/18
to
On Sunday, 2 December 2018 20:03:17 UTC+2, woodb...@gmail.com wrote:
> On Sunday, December 2, 2018 at 10:14:40 AM UTC-6, Scott Lurndal wrote:
> > woodb...@gmail.com writes:
> >
> > >Intel has a bunch of analysis and debugging related tools
> > >that sound great. I wasn't impressed, though with their
> > >C++ compiler. It produced chubby (text) segments compared
> > >to gcc or even clang.
> >
> > A more useless metric for code quality is hard to imagine.
>
> I should note that I'm using -Os to build. Here's an example
> of the output of the 'size' command:
>
> text data bss dec hex filename
> 45936 2400 1584 49920 c300 icc.cmwA
> 35009 1232 8 36249 8d99 clang.cmwA
> 27782 1176 8 28966 7126 gcc.cmwA
>
>
> Why does icc produce such a big bss segment? Those bytes
> have to be zeroed out before the program runs. Somehow
> icc makes clang look good.

Seems that you built for AMD processor. ICC needs to make
efficient code for Intel processors and bit crappier variant
for AMD processors. ;-)

But seriously ... what kilobytes? We are talking about your
serializer wannabe written in C++ not about an HDL for
a FPGA of some sort.

Kenny McCormack

unread,
May 31, 2019, 8:01:58 AM5/31/19
to
In article <DdZMD.113019$BJ7....@fx20.fr7>,
Mr Flibble <flibbleREM...@i42.co.uk> wrote:
...
>It isn't a matter of concern and as such nobody cares about it except you.

There are a lot of things in the world that nobody other than me cares about.

Regardless of that, these things are very important to me.

--
The scent of awk programmers is a lot more attractive to women than
the scent of perl programmers.

(Mike Brennan, quoted in the "GAWK" manual)

Öö Tiib

unread,
May 31, 2019, 9:20:58 AM5/31/19
to
On Friday, 31 May 2019 15:01:58 UTC+3, Kenny McCormack wrote:
> In article <DdZMD.113019$BJ7....@fx20.fr7>,
> Mr Flibble <flibbleREM...@i42.co.uk> wrote:
> ...
> >It isn't a matter of concern and as such nobody cares about it except you.
>
> There are a lot of things in the world that nobody other than me cares about.
>
> Regardless of that, these things are very important to me.

Wise words. Why did you resurrect a woodbrian thread for saying
those, Kenny?
0 new messages