ALL
Want to make your Eclipse run faster? Try this
Lots of us may find that our Eclipse takes a long time to launch, remember how many times you want to close this heavy machine and shout "F**K". Do you know why Eclipse launches slowly? Is it because we have too many plugins installed or we have created too many projects? No, it's not. Sometimes, it's because we don't have the correct configuration. So where to start? Go to eclipse.ini.First, you may want to add below line in your eclipse.ini configuration file:-Xloggc:gc.logThis is to show what Eclipse has done while launching.Next we can start to do some optimization. Here we take one exampl...
3,426 0 OPTIMIZATION ECLIPSE SPEED
Why Javascript is a Joy
I’m probably a bit biased – being a front-end web developer for a few years will do that – but I really enjoy writing Javascript. I’ve recently retreated from pure coding the last few months, but I got an opportunity this past week to jump back into some tasks, and it has reminded me how fun it is to dive into our[1] front-end codebase.Yes, Javascript can be surprisingly elegant yet completely infuriating, and all on the same line of code; for a long time, it remained the joke of the programming community, the deranged cousin that outuglied even the likes of PHP...
2,860 0 JAVASCRIPT SPEED SIMPLICITY MALLEABLE
Faster than C
Judging the performance of programming languages,usually C is called the leader,though Fortran is often faster.New programming languages commonly use C as their referenceand they are really proud to be only so much slower than C.Few language designer try to beat C.What does it take for a language to be faster than C?Better Aliasing InformationAliasing describes the fact that two references might point to the same memory location.For example, consider the canonical memory copy:void* memcopy(void* dst, const void* src, size_t count) { while (count--) *dst++ = *src++; return dst;}Depending on...
3,484 1 C PERFORMANCE SPEED FORTRAN CRITERIA
Why Do Some People Learn Faster?
The physicist Niels Bohr once defined an expert as “a person who has made all the mistakes that can be made in a very narrow field.†Bohr’s quip summarizes one of the essential lessons of learning, which is that people learn how to get it right by getting it wrong again and again. Education isn’t magic. Education is the wisdom wrung from failure.A new study, forthcoming in Psychological Science, and led by Jason Moser at Michigan State University, expands on this important concept. The question at the heart of the paper is simple: Why are some people so much more effe...
Go vs C benchmark. Could Go be faster than C?
During last semester I was attending Multiprocessor Architectures course, given at Facultad de Informática where I study my Computer Science degree.As part of the assignments due to pass the course, we had to do several programs written in C to benchmark matrix multiplication by testing different techniques and technologies. First of all we had to do a secuential program in three different versions:A normal one where the result matrix is ordered by rows and the loops range the matrix by rows tooAn “inter†version where the result matrix is ordered by rows but the loops range the...
How To Optimize Your Site With HTTP Caching
I’ve been on a web tweaking kick lately: how to speed up your javascript, gzip files with your server, and now how to set up caching. But the reason is simple: site performance is a feature.For web sites, speed may be feature #1. Users hate waiting, we get frustrated by buffering videos and pages that pop together as images slowly load. It’s a jarring (aka bad) user experience. Time invested in site optimization is well worth it, so let’s dive in.What is Caching?Caching is a great example of the ubiquitous time-space tradeoff in programming. You can save time by using sp...
2,444 0 SPEED WEBSITE PERFORMANCE HTTP CACHE HASH CODE
Why Android Will Always Be Laggier Than iOS
One of the things that really stands out using an iPhone is just how smooth it feels compared to using Android. Where as Android is laggy, with a measurable interim between when you touch the screen and when the OS responds, iOS almost seems to anticipate what you want to do before your finger touches the display.How has Apple managed this incredible feat? A better question might be: “How has Google managed to screw up Android’s multitouch so much?†According to Andrew Munn — a software engineering student and ex-Google intern — Android is so messed up that Goo...