Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce

On Monday, 8 December 2014 at 21:04:17 UTC, John wrote:

On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote:



think of them as beta quality!


You may have to either pause when you need to cough and sneeze 
or just edit that out. I am interested in this topic but the 
horrible quality of audio video made me puke.



Sorry. I will shoot the next videos when I am healthy again.

I thought about writing the code beforehand, and then just go 
through and explain it. What do you think of that ?


@ibuclaw You did not misshear, I really said that :( . I was 
referring I to the fact, that I do not parse uppercase letters 
atm. Probably should edit out such non-sense.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread deadalnix via Digitalmars-d-announce

On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote:

I want to do a C backend first.
Building an LLVM Backand out of that is a small step.


There is already a very popular C to C compiler out there. It is
called cat, and come out of the box with any UNIX like system.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Iain Buclaw via Digitalmars-d-announce
On 8 December 2014 at 19:35, Stefan Koch via Digitalmars-d-announce
 wrote:
> On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote:
>>
>> On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote:
>>>
>>> First two videos are up
>>>
>>> think of them as beta quality!
>>>
>>> https://www.youtube.com/watch?v=aeBSsuCCRFo
>>> and
>>> https://www.youtube.com/watch?v=crQk929crCE
>>
>>
>> The quality is completely shot for both audio and video. The text is very
>> fuzzy even in 720p and the audio has been subject to some extreme lossy
>> compression.
>
>
> The audio-input is very bad!
> what you are hearing are not compression artifacts it's the noise filter
> hard at work.

Yah, talking ad-lib is not fun, nor an easy thing to do.

1) Script your presentation, making notes of the time it will take for
you to talk through each section.
2) Screencast without audio, following the script to your timings.
3) Get yourself a Zoom H1, and record the audio over the video.

It *is* the season to be sick and bunged in.  But that's not a good
excuse for spending 15 minutes sneezing and coughing your way through
a pre-recorded talk. :-)


By the way, on a more technical note, I was confused by some of your
comments, such as not using camel casing and D's foreach because it
makes self hosting difficult?

Maybe I misheard, but it seems absurd to my ears, but then what do I know. :-)

Iain.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread John via Digitalmars-d-announce

On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote:

On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote:

On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote:

First two videos are up

think of them as beta quality!

https://www.youtube.com/watch?v=aeBSsuCCRFo
and
https://www.youtube.com/watch?v=crQk929crCE


The quality is completely shot for both audio and video. The 
text is very fuzzy even in 720p and the audio has been subject 
to some extreme lossy compression.


The audio-input is very bad!
what you are hearing are not compression artifacts it's the 
noise filter hard at work.


You may have to either pause when you need to cough and sneeze or 
just edit that out. I am interested in this topic but the 
horrible quality of audio video made me puke.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce

On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote:

On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote:

First two videos are up

think of them as beta quality!

https://www.youtube.com/watch?v=aeBSsuCCRFo
and
https://www.youtube.com/watch?v=crQk929crCE


The quality is completely shot for both audio and video. The 
text is very fuzzy even in 720p and the audio has been subject 
to some extreme lossy compression.


The audio-input is very bad!
what you are hearing are not compression artifacts it's the noise 
filter hard at work.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread MattCoder via Digitalmars-d-announce

On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote:
...The text is very fuzzy even in 720p and the audio has been 
subject to some extreme lossy compression.


I don't know... in 720p I can't complain about the text but on 
the otherwise in 480 is really a bit fuzzy.


Well as a suggestion I think you could expand the window where 
you are writing the code. Or even focus entire on it.


I'm waiting for more videos. :)

Matheus.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread John Colvin via Digitalmars-d-announce

On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote:

First two videos are up

think of them as beta quality!

https://www.youtube.com/watch?v=aeBSsuCCRFo
and
https://www.youtube.com/watch?v=crQk929crCE


The quality is completely shot for both audio and video. The text 
is very fuzzy even in 720p and the audio has been subject to some 
extreme lossy compression.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce

First two videos are up

think of them as beta quality!

https://www.youtube.com/watch?v=aeBSsuCCRFo
and
https://www.youtube.com/watch?v=crQk929crCE


Plotcli: Plotting from the command line

2014-12-08 Thread BlackEdder via Digitalmars-d-announce
Plotcli is a command line application (written in D) that can 
create plots from text/csv files and from piped data, making it 
useful during data analysis. Plotcli works best in combination 
with other command line tools such as awk. Plotcli will ignore 
any lines it does not understand, so it is safe to use with files 
that contain non csv data as well. Typically I use it during 
simulations, where I simulate data, which I pipe to a file and 
then I plot it using plotcli:


plotcli < path/to/file

It will plot the data and save the plot to a file (by default 
plotcli.png). Plotcli has a command line switch similar to tail 
(-f) so that it will keep checking for new data until it is 
killed with ctrl+c.


Plotcli is meant to be adaptive and will automatically adapt the 
plot boundaries to encompass all the data.


https://github.com/BlackEdder/plotd


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 11:08:36 UTC, Shriramana Sharma via 
Digitalmars-d-announce wrote:
Please do post updates here. I think it would be a great 
show-casing of D's

capabilities.

Just a suggestion and I may be totally off mark here, but will 
you have it
directly output machine code? Or just the front end? I keep 
hearing praises
of LLVM back-end so if your compiler outputs the LLVM IR code 
then maybe

you can have the rest of the benefit from LLVM.

But of course, if this is a PoC that D Caen be used to write a 
full

compiler to output machine code then LLVM's off...


I want to do a C backend first.
Building an LLVM Backand out of that is a small step.


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Shriramana Sharma via Digitalmars-d-announce
On Monday, December 8, 2014, Stefan Koch via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

>
> Please tell me what you think if that announcement, and feel free to ask
> anything you
>

Please do post updates here. I think it would be a great show-casing of D's
capabilities.

Just a suggestion and I may be totally off mark here, but will you have it
directly output machine code? Or just the front end? I keep hearing praises
of LLVM back-end so if your compiler outputs the LLVM IR code then maybe
you can have the rest of the benefit from LLVM.

But of course, if this is a PoC that D Caen be used to write a full
compiler to output machine code then LLVM's off...


-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Dan Cirnat via Digitalmars-d-announce

On Sunday, 7 December 2014 at 19:13:42 UTC, Stefan Koch wrote:
I'd like to announce that I am going to be writing a C-compiler 
in D.


I will shoot videos of my progress, and I will explain how a 
compiler really works.


I would be very interested in the videos, can't wait. :)