Re: When will Java go mainstream like Python?
"Lawrence D'Oliveiro" wrote in message news:[email protected]... In message , Wanja Gayk wrote: Reference counting is about the worst technique for garbage collection. It avoids the need for garbage collection. It means I can write things like contents = open(filename, "r").read() and know the file object will be immediately closed after its contents are returned. It also means I don’t have to predefine how much memory my program will use. A garbage collector will only kick in when the app runs low on memory. On a system with dynamic memory allocation, that will not happen until the entire system runs low on memory, unless you limit the app to some fixed amount. Which is an antiquated way of doing things. And then there’s caching. Modern CPUs owe most of their speed to assumptions that programs will obey locality of reference. Pointer-chasing is a cache- hostile activity. Garbage collection involves a lot of pointer-chasing, particularly of dead objects that have long since been flushed from the cache, compared with reference counting of recently-accessed objects. Therefore garbage collection loses performance. Reference counting is a technique that is only applicable for a subset of scenarios GC can handle. RC fails when circular dependencies exist. In an ancient past I have worked with RC-based C++ frameworks and they where either very restrictive to prevent circular dependencies or ignored them resulting in memory leaks. In addition, for fast create/destroy scenario's (for examples loops that allocate objects with single cycle lifetimes) a generational GC is MUCH faster than manual malloc/free new/delete code because it enables a completely different heap management logic. Reference counting only adds to the slowness in this scenario. You are also incorrect in stating that a GC will only kick in when memory becomes scarce. Partial GCs will happen very frequently (thereby invalidating your point about caching) and are extremely fast. Only full GCs are infrequent and take more time but they will typically run in a separate thread. No general statement about the relative speed of generational GC systems versus manual heap management (or the slower variant RC) can be made since they have completely different best, general and worse case behavior and scenarios. In response to your original post: please provide links to examples of quality benchmark results. There are numerous language speed comparison benchmarks that usually put Python in the tail region with Ruby and the likes for many different applications. If you have opposing examples then you should provide them. Silvio -- http://mail.python.org/mailman/listinfo/python-list
Static Website Generator
Hello, i want try a static Website Generator. Has someone an advice for a simple and easy System to use? I want run my blog with it, so the system should run with my design of Website. I has try Pelican, but its i dont know that themeing make me crazy. Thanks For Help & Nice Weekend Silvio -- https://mail.python.org/mailman/listinfo/python-list
Re: Static Website Generator
Hello, On Sat, 16 Nov 2013 11:43:01 -0500 Veritatem Ignotam wrote: > I'll second Nikola (full disclosure: not affiliated) Thank you for advice. Nikola is good, i good convert my blog in it and my theme i have convert. Only two things i miss: I find no way the blog article in the index file to limit. At moment my index File give last 5 Blog Article and the last 5 tutorials out. In Nikola i find not the way to limited. Secound what not really understand. There give Post Articles, i can use for Blog, and there are Stories. The Stories can use for Tutorials. The problem is the article from the stories folder no where be linked. Neither the index not found in the folder a index file. Is here someone familar with the system and can help? Thank you & Greetings Silvio -- https://mail.python.org/mailman/listinfo/python-list
webpy
Hello, is here someone which has run webpy with nginx? I has follow the tutorial on webpy.org, but sometimes run sometimes not. It looks not staple. I try to start spawn-fcgi but it looks not so as really want start. It were nice someone can help. Wish good day/night. Thank you & Greetings Silvio -- https://mail.python.org/mailman/listinfo/python-list
CIVIL HERO & COMMODITIES, CURRENCIES, STOCKS GENIUS MICHELE NISTA [email protected]: HE GET IT RIGHT ON WORLDWIDE SECURITIES DE FACTO ALWAYS! BOUT 7320 PREDICTIONS SINCE AUGUST 1987 ( WHEN HE WAS +
CIVIL HERO & COMMODITIES, CURRENCIES, STOCKS GENIUS MICHELE NISTA [email protected]: HE GET IT RIGHT ON WORLDWIDE SECURITIES DE FACTO ALWAYS! BOUT 7320 PREDICTIONS SINCE AUGUST 1987 ( WHEN HE WAS +/- 20): 7320 SUCCESS! 100% SHOCKING WINNING SCORE! GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA [email protected]! HE GET IT RIGHT ON WORLDWIDE STOCKS, CURRENCIES & COMMODITIES ALWAYS! ABOUT 7320 PREDICTIONS ON INTERNET SINCE 8.1987 (WHEN WAS MORE OR LESS 20 YEARS OLD): 7320 SUCCESS! 100% SHOCKING WINNING SCORE!!! GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA ([email protected]) ADVANCED IN EXTREMELY PERFECT WAY THE CONTINUOUS WALL STREET CRASH OF 1987 ( AS SAID.. AT THAT TIME HE WAS, MORE OR LESS, JUST 20 YEARS OLD)! AS THE ONE OF 2007, 2008 AND BEGINNING OF 2009 WITH "JUST" 1 AND HALF YEAR OF INCREDIBLY WINNING FORETASTE! GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA [email protected] AVDANCED IN EXTREMELY PERFECT WAY, THEN, THE MORE OF DOUBLING OF WALL STREET, SINCE 3.2009! HE PROPHESIED ALL THIS ON INTERNET, AGAIN, WITH MONTHS AND MONTHS IN ADVANCE! ALL AT FANTASTIC LIGHT OF SUNSHINE!!! ALL PROVABLE AND VISIBLE STILL NOW!!! GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA ([email protected]) WAS "ONE OF THE NUMBER ONES" OF ITALIAN STOCK EXCHANGE, IN THE 90S, PRODUCING OVER 10 MILIONS OF EUROS OF COMMISSIONS OF THE 90S ( SO, 15 MILIONS OF NOW), FROM BELOW ZERO: WAS THE ABSOLUTE IDOL OF GOLDMAN SACHS, MERRILL LYNCH, AND NEARLY ANY "FOR GOOD" INVESTMENT BANK IN THE WORLD! THAT'S WHY EVERYONE WAS GIVING HIM AND STILL GIVE HIM THE NICK OF KING MIDAS! INGENIOUS HERO MICHELE NISTA HAS A GREAT HEART TOO, "NOT JUST" A SORT OF INVINCIBLE INTUITION! HE DEDICATES, SINCE HE WAS 17, ALL HIS GIFTS OF HEAVEN HE HAS TO POOREST PEOPLE IN THE WORLD, VOLUNTEERING AND NOT ONLY, FOR MANY ORGANIZATIONS SAVING OR IMPROVING SUFFERING LIVES IN LATIN AMERICA AND AFRICA. HE IS CERTAINLY A CIVIL INCORRUPTIBLE HERO TOO! IN THE LAST 21 YEARS, IN MILAN, WAS THE MOST TENACIOUS MAN HUNTING TO DESTROY THE ASSASSIN DICTATORSHIP OF MAFIOSO, MEGA MAFIA MONEY LAUNDERER, EXTREME NAZIFASCIST, LIAR, MEGA THIEF, CORRUPTING PIG, PRINCIPAL OF HUNDREDS OF MURDERS AND SLAUGHTERS, VERY ASCERTAINED PEDOPHILE SILVIO BERLUSCONI! FOR ALL THIS, THERE W ERE FOUR ATTEMPTS OF KILLING HIM, ORDERED BY BASTARD SANGUINARY, AS WELL AS METASTASES OF THE ENTIRE WORLD: SILVIO BERLUSCONI!!! AND HIS FATHER LOST LIFE ON ORDER OF NAZIFASCIST AND COSA NOSTRA'S BRUTAL, VICIOUS, CRUEL, FEROCIOUS PRINCIPAL OF KILLING SILVIO BERLUSCONI (MAKING SHREWDLY TO PASS, VIA HIS PRIVATE OR PUBLIC NEW "OVRA, GESTAPO AND DINA" AL HIS ABSOLUTE REPELLENT HINDREDS OF HOMICIDES FOR FALSE ACCIDENTS, FALSE SUICIDES, FALSE ILLNESS, ALL THE TIMES)! AS A MATTER OF FACT, GENIUS, KING MIDAS, DEMOCRAT HERO MICHELE NISTA [email protected] "DECIDED TO EMIGRATE" TO LONDON, ON 2003, TO REMAIN ALIVE!! BUT GOD, IF HE'LL CONTINUE TO DESERVE SO, WILL MAKE HIM WIN!!! GROUP OF FRIENDS AND CLIENTS, EXTREMELY GRATEFUL TO THIS KING MIDAS, TO THIS INGENIOUS AND CIVIL HERO OF OUR TIMES: MICHELE NISTA ([email protected])!!! RUDI STUEZLI. SENIOR CONSULTANT GOLDMAN SACHS. -- https://mail.python.org/mailman/listinfo/python-list
