POV-Ray : Newsgroups : povray.off-topic : Emacs Server Time
29 Sep 2024 18:13:03 EDT (-0400)
  Emacs (Message 161 to 170 of 349)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 16:41:08
Message: <49e8e964$1@news.povray.org>
Warp wrote:
>   Nothing more fake than claiming a language is about as fast as C, when
> in fact it's *compiled as C*, in the first place.

Nah. Being a high-level language that compiles down to C that's as fast as 
one might have written manually in C is pretty impressive.

Being *slower* than "native" C while compiling down to C is easy. Being as 
fast as C when compiling down to C is tough. Being faster than C is (I'd 
say) impossible if you actually have C as an intermediate language.

Otherwise, SQL is nothing more than fancy assembly language.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 16:44:38
Message: <49e8ea36$1@news.povray.org>
Warp wrote:
>   So in your opinion people who have been using emacs in a unix system
> for 20 years have no right to use the same software in the exact same
> way in Windows?

My favorite is how emacs brings up the help screen when you hit backspace. 
I'm pretty sure the defined meaning of backspace predates emacs. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: nemesis
Subject: Re: Emacs
Date: 17 Apr 2009 17:27:56
Message: <49e8f45c@news.povray.org>
Darren New escreveu:
> Being *slower* than "native" C while compiling down to C is easy. Being 
> as fast as C when compiling down to C is tough. Being faster than C is 
> (I'd say) impossible if you actually have C as an intermediate language.

Look up Stalin Scheme.  A heavily agressive optimizing compiler for 
Scheme that quite a few times generates C code that beats hand written C 
code.  If you look at the C source it outputs, you'll be shocked by how 
badly it treats C as truly portable assembly.  Lots of structs and loop 
unrolls.  Worthy of the name.

It is very slow to compile as it's a whole program compiler performing 
many analyses and type inferencing.  It's meant as the very last step in 
the development cycle, after all iterative developing, testing and bug 
fixing was done and is ready to go production.  Think about that, truly 
being able to program in a confortable language without ever thinking on 
how to make the compiler happy and getting top-notch fast code without 
any tweaks...

OTOH, it doesn't support such niceties of Scheme such as a full-numeric 
tower, full-continuations or define-syntax.

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: nemesis
Subject: Re: Emacs
Date: 17 Apr 2009 17:29:41
Message: <49e8f4c5$1@news.povray.org>
Darren New escreveu:
> My favorite is how emacs brings up the help screen when you hit 
> backspace. I'm pretty sure the defined meaning of backspace predates 
> emacs. :-)

I may be a little rusty at emacs but I don't really remember that.

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 18:13:59
Message: <49e8ff27$1@news.povray.org>
nemesis wrote:
> Look up Stalin Scheme.  A heavily agressive optimizing compiler for 
> Scheme that quite a few times generates C code that beats hand written C 
> code.  If you look at the C source it outputs, you'll be shocked by how 
> badly it treats C as truly portable assembly.  Lots of structs and loop 
> unrolls.  Worthy of the name.

Sure. It generates code you wouldn't dream of spending the time to generate 
by hand. But it's still not going to be faster than the best C that can be 
written for that platform.   (That's kind of a "duh, no kidding" statement, 
sure.)

Contrast with something that generates machine code natively, which might 
output code that your C compiler would never output, for example.

If your front-end outputs C, you're never going to out-perform the C code it 
generates. If your C compiler can't take advantage of the GPU to do math or 
can't hook into interrupt vectors directly or ..., then your language isn't 
going to do better.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 18:14:27
Message: <49e8ff43$1@news.povray.org>
nemesis wrote:
> Darren New escreveu:
>> My favorite is how emacs brings up the help screen when you hit 
>> backspace. I'm pretty sure the defined meaning of backspace predates 
>> emacs. :-)
> 
> I may be a little rusty at emacs but I don't really remember that.

Backspace is C-h, yes? C-h is "help".  Gets me every time.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 18:17:17
Message: <49e8ffed$1@news.povray.org>
Mueen Nawaz wrote:
> 	As for kill and yank, do realize that Emacs is old. I'm not sure cut
> and paste was common editor parlance in those days.

Of course it was. "Cut and paste" is the term left over from before 
computers, remember? :-) It's how you composed a newspaper before digital 
ever existed.

I suspect it's more because there were way too many mnemonic keys needed.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 18:22:28
Message: <49e90124$1@news.povray.org>
Invisible wrote:
> By the way... what kind of keyboard actually has a Meta key?

http://en.wikipedia.org/wiki/Space-cadet_keyboard

A lot of the keyboards that had multiple character sets (like APL keyboards) 
had meta keys too.  Sun SPARCstations had meta keys.

Wasn't that uncommon before IBM keyboards took over.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 18:29:25
Message: <49e902c5$1@news.povray.org>
Orchid XP v8 wrote:
> (I'm pretty sure I recall seeing shell scripts that generate edlin 
> scripts that do useful stuff. Notepad would be useless here.)

http://nerds-central.blogspot.com/2007/01/using-vbscript-to-paste-text-into.html

Not that I'm seriously suggesting the technique, mind...

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Emacs
Date: 17 Apr 2009 19:13:47
Message: <49e90d2b@news.povray.org>
Warp wrote:
>   If I need to edit a file remotely through SSH, emacs will do the job
> (regardless of which OS I'm using, because emacs will be running on the
> remote computer), notepad won't.

That's why they invented RDP and VNC.

Altho in this case, I usually prefer VI, because it's lower bandwidth and 
you can work effectively with very delayed feedback.

Maybe emacs is the same, but I find I can't easily drive emacs without 
feedback after most command keystrokes, while it's easy to (for example) 
find a string in vi without all the incremental stuff.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.