To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2634
2633  |  2635
Subject: 
Re: News search function reactivated (was: News search function temporarily disabled)
Newsgroups: 
lugnet.off-topic.geek
Date: 
Wed, 3 Jan 2001 20:41:42 GMT
Viewed: 
865 times
  
In lugnet.off-topic.geek, Todd Lehman writes:
In lugnet.off-topic.geek, Kevin Loch writes:
In lugnet.admin.general, Todd Lehman writes:
The LUGNET News search function is now re-enabled.  I completely revamped
the index data structures and list-merge algorithm and rewrote the core
query engine in C.  It's a much more solid implementation.
All geeks capitulate sooner or later on perl vs C.  Of course
Larry (and many others I work with) would tell you to write that
stuff in Java but that would be a step backwards.

I like Java.  But this really needed to be close to the metal and generate
code that would fit in the L1 cache for the non-memory-bus-bound portions
of the loops.  The GNU C compiler is incredible.


Aah, you definately couldn't have done that in Java.  Of course the ability
to declare a couple register variables helps too.

KL



Message has 2 Replies:
  Re: News search function reactivated (was: News search function temporarily disabled)
 
(...) Of course I've heard of situations where an interpreter outdid hand crafted assembler. This can occur if the portion of the interpreter necessary to run your code fits in the code cache and the byte codes fit in the data cache when the hand (...) (24 years ago, 3-Jan-01, to lugnet.off-topic.geek)
  Re: News search function reactivated (was: News search function temporarily disabled)
 
(...) I probably couldn't, no, but a very experienced Java programmer and a good JVM machine could conceivably do better than C. (It's not unheard of for Java to be faster than C for certain types of things.) The big hits would probably be the JVM (...) (24 years ago, 3-Jan-01, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: News search function reactivated (was: News search function temporarily disabled)
 
(...) I like Java. But this really needed to be close to the metal and generate code that would fit in the L1 cache for the non-memory-bus-bound portions of the loops. The GNU C compiler is incredible. (...) It's the best C code I've written in 12 (...) (24 years ago, 3-Jan-01, to lugnet.off-topic.geek)

45 Messages in This Thread:
















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR