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

The next big thing

41 views
Skip to first unread message

woodb...@gmail.com

unread,
Jan 12, 2019, 9:33:38 PM1/12/19
to
Andrei Alexandrescu's talk at Meeting C++ 2018

https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0

Andrei says, "We want to generate code that matters".
The story about the guy on the plane was interesting.


Brian
Ebenezer Enterprises
https://github.com/Ebenezer-group/onwards

Melzzzzz

unread,
Jan 12, 2019, 9:53:14 PM1/12/19
to
On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> Andrei Alexandrescu's talk at Meeting C++ 2018
>
> https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0
>
> Andrei says, "We want to generate code that matters".
> The story about the guy on the plane was interesting.

Can you make short description if you wathed video?
>
>


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

woodb...@gmail.com

unread,
Jan 12, 2019, 10:41:07 PM1/12/19
to
On Saturday, January 12, 2019 at 8:53:14 PM UTC-6, Melzzzzz wrote:
> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > Andrei Alexandrescu's talk at Meeting C++ 2018
> >
> > https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0
> >
> > Andrei says, "We want to generate code that matters".
> > The story about the guy on the plane was interesting.
>
> Can you make short description if you wathed video?
> >

He says that introspection/code generation is the
next big thing. He thinks Concepts are "bo-ring."
He gives examples of introspection using the D language.

The examples he gave are interesting, but according to
this page: https://dlang.org/download.html
you have to use one of the secondary compilers in order
to get strong optimization and some portability.

I think on-line code generators will have a portability
edge over D compilers.


Brian
http://webEbenezer.net

Melzzzzz

unread,
Jan 12, 2019, 11:07:25 PM1/12/19
to
On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> On Saturday, January 12, 2019 at 8:53:14 PM UTC-6, Melzzzzz wrote:
>> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
>> > Andrei Alexandrescu's talk at Meeting C++ 2018
>> >
>> > https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0
>> >
>> > Andrei says, "We want to generate code that matters".
>> > The story about the guy on the plane was interesting.
>>
>> Can you make short description if you wathed video?
>> >
>
> He says that introspection/code generation is the
> next big thing. He thinks Concepts are "bo-ring."
> He gives examples of introspection using the D language.

Why?

>
> The examples he gave are interesting, but according to
> this page: https://dlang.org/download.html
> you have to use one of the secondary compilers in order
> to get strong optimization and some portability.

dmd has few optimizations. ldc is compiler for use...

>
> I think on-line code generators will have a portability
> edge over D compilers.

Why?

red floyd

unread,
Jan 12, 2019, 11:19:39 PM1/12/19
to
On 1/12/19 8:07 PM, Melzzzzz wrote:
> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
>
>>
>> I think on-line code generators will have a portability
>> edge over D compilers.
>
> Why?
>

Because he has one of the former.

woodb...@gmail.com

unread,
Jan 12, 2019, 11:32:54 PM1/12/19
to
And because my front tier is only 35 lines:
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc

It runs on Windows, Linux, FreeBSD and Mac. I haven't
tried to build it on anything else yet, but there's no
reason to think it won't be easy to build on phones, etc.

Melzzzzz

unread,
Jan 13, 2019, 6:18:23 AM1/13/19
to
On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> On Saturday, January 12, 2019 at 10:19:39 PM UTC-6, red floyd wrote:
>> On 1/12/19 8:07 PM, Melzzzzz wrote:
>> > On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
>> >
>> >>
>> >> I think on-line code generators will have a portability
>> >> edge over D compilers.
>> >
>> > Why?
>> >
>>
>> Because he has one of the former.
>
> And because my front tier is only 35 lines:
> https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc

Well, it uses library. This is not just 35 lines.
>
> It runs on Windows, Linux, FreeBSD and Mac. I haven't
> tried to build it on anything else yet, but there's no
> reason to think it won't be easy to build on phones, etc.

How about router? Routers have significant potential to run networked
code and are usually right place for that. Nowadays routers have usb
ports to attach disks and enough RAM to run programs.

woodb...@gmail.com

unread,
Jan 13, 2019, 10:47:26 AM1/13/19
to
On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > On Saturday, January 12, 2019 at 10:19:39 PM UTC-6, red floyd wrote:
> >>
> >> Because he has one of the former.
> >
> > And because my front tier is only 35 lines:
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
>
> Well, it uses library. This is not just 35 lines.

That's true for most C++ programs. If the platform
has 2017 C++ support, this program will likely build.

> >
> > It runs on Windows, Linux, FreeBSD and Mac. I haven't
> > tried to build it on anything else yet, but there's no
> > reason to think it won't be easy to build on phones, etc.
>
> How about router? Routers have significant potential to run networked
> code and are usually right place for that. Nowadays routers have usb
> ports to attach disks and enough RAM to run programs.
>

I don't know. I'm talking about the front tier of
a software development tool. People use routers to
support their desktops and phones, right? And they
use their desktops and phones for software development.


Brian

Melzzzzz

unread,
Jan 13, 2019, 4:20:44 PM1/13/19
to
On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
>> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
>> > On Saturday, January 12, 2019 at 10:19:39 PM UTC-6, red floyd wrote:
>> >>
>> >> Because he has one of the former.
>> >
>> > And because my front tier is only 35 lines:
>> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
>>
>> Well, it uses library. This is not just 35 lines.
>
> That's true for most C++ programs. If the platform
> has 2017 C++ support, this program will likely build.
fatal error: cmw/Buffer.hh: No such file or directory
#include<cmw/Buffer.hh>

>
>> >
>> > It runs on Windows, Linux, FreeBSD and Mac. I haven't
>> > tried to build it on anything else yet, but there's no
>> > reason to think it won't be easy to build on phones, etc.
>>
>> How about router? Routers have significant potential to run networked
>> code and are usually right place for that. Nowadays routers have usb
>> ports to attach disks and enough RAM to run programs.
>>
>
> I don't know. I'm talking about the front tier of
> a software development tool. People use routers to
> support their desktops and phones, right? And they
> use their desktops and phones for software development.

Phones are phones. Developing for phones is less likely to use some C++.
Router more likely...
>
>
> Brian

woodb...@gmail.com

unread,
Jan 13, 2019, 5:28:07 PM1/13/19
to
On Sunday, January 13, 2019 at 3:20:44 PM UTC-6, Melzzzzz wrote:
> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
> >> Well, it uses library. This is not just 35 lines.
> >
> > That's true for most C++ programs. If the platform
> > has 2017 C++ support, this program will likely build.
> fatal error: cmw/Buffer.hh: No such file or directory
> #include<cmw/Buffer.hh>
>

Thanks for the report. What operating system are
you using? And what is the build line that is failing?
Something like: g++ ...


> >> How about router? Routers have significant potential to run networked
> >> code and are usually right place for that. Nowadays routers have usb
> >> ports to attach disks and enough RAM to run programs.
> >>
> >
> > I don't know. I'm talking about the front tier of
> > a software development tool. People use routers to
> > support their desktops and phones, right? And they
> > use their desktops and phones for software development.
>
> Phones are phones. Developing for phones is less likely to use some C++.
> Router more likely...

The point is you would be using a desktop to develop
for routers.


Brian

Melzzzzz

unread,
Jan 13, 2019, 5:38:15 PM1/13/19
to
On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> On Sunday, January 13, 2019 at 3:20:44 PM UTC-6, Melzzzzz wrote:
>> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
>> > On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
>> >> Well, it uses library. This is not just 35 lines.
>> >
>> > That's true for most C++ programs. If the platform
>> > has 2017 C++ support, this program will likely build.
>> fatal error: cmw/Buffer.hh: No such file or directory
>> #include<cmw/Buffer.hh>
>>
>
> Thanks for the report. What operating system are
> you using? And what is the build line that is failing?
> Something like: g++ ...

Linux, g++ 8.2.1, that build line fails. 35 lines of code, but no cmw/Buffer.hh
on my system...

>
>
>> >> How about router? Routers have significant potential to run networked
>> >> code and are usually right place for that. Nowadays routers have usb
>> >> ports to attach disks and enough RAM to run programs.
>> >>
>> >
>> > I don't know. I'm talking about the front tier of
>> > a software development tool. People use routers to
>> > support their desktops and phones, right? And they
>> > use their desktops and phones for software development.
>>
>> Phones are phones. Developing for phones is less likely to use some C++.
>> Router more likely...
>
> The point is you would be using a desktop to develop
> for routers.

Sure.

woodb...@gmail.com

unread,
Jan 13, 2019, 8:08:22 PM1/13/19
to
On Sunday, January 13, 2019 at 4:38:15 PM UTC-6, Melzzzzz wrote:
> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> > On Sunday, January 13, 2019 at 3:20:44 PM UTC-6, Melzzzzz wrote:
> >> On 2019-01-13, woodb...@gmail.com <woodb...@gmail.com> wrote:
> >> > On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
> >> >> Well, it uses library. This is not just 35 lines.
> >> >
> >> > That's true for most C++ programs. If the platform
> >> > has 2017 C++ support, this program will likely build.
> >> fatal error: cmw/Buffer.hh: No such file or directory
> >> #include<cmw/Buffer.hh>
> >>
> >
> > Thanks for the report. What operating system are
> > you using? And what is the build line that is failing?
> > Something like: g++ ...
>
> Linux, g++ 8.2.1, that build line fails. 35 lines of code, but no cmw/Buffer.hh
> on my system...

Did you clone the repository?
git clone https://github.com/Ebenezer-group/onwards.git

Did you run make?
0 new messages