Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skinney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
631.
▲
by
Skinney
13y ago
Titanium, last I checked also do not support all the native API's like Xamarin does. Six months ago I did not see support for the ActionBar for Android apps. Even though the Titanium API is supposed to work cross platform, usually ther
632.
▲
by
Skinney
13y ago
First of all, I use LightTable for all Clojure development at work (we use it for our tools) and I love it. One thing though, is there any chance of seeing goto-symbol like functionality in LightTable (thinking about goto-symbol in Sublime
633.
▲
by
Skinney
13y ago
No we still disagree. A poor library, or poor use of said library, is not a reason to use an entirely diffrent language. It's a reason to use a diffrent library or fix your code.
634.
▲
by
Skinney
13y ago
Hmm. Most of what I've seen uses mutexes and semaphores for synchronization. Do you have actors and/or channels libraries for C++? I recon you do, but how good are they?
635.
▲
by
Skinney
13y ago
app, application, I wasn't thinking about mobile apps or the like. I agree completely with using whatever I can be most successful with line of thinking. This is why I try to learn as many languages as I can, so I have a good notion of
636.
▲
by
Skinney
13y ago
Ahh ok. I know this, but got confused when type and testing was included in the same sentence :P
637.
▲
by
Skinney
13y ago
Why do people do type testing?
638.
▲
by
Skinney
13y ago
Link? How would a type system be able to ensure that both sides of a rb tree is balanced? :S
639.
▲
by
Skinney
13y ago
That note is from 2011. According to wikipedia: http://en.wikipedia.org/wiki/HipHop_for_PHP "in Q1 2013, the production version of facebook.com started running on HHVM, replacing HPHPc."
640.
▲
by
Skinney
13y ago
Facebook is using HipHopVM, which is a JIT for PHP. HipHop is no longer a PHP -> C++ compiler. Didn't know they switched to HBase, it's still Java though.
641.
▲
by
Skinney
13y ago
I understand the intent. However, out of memory exceptions usually mean wrongful use of libraries, or poor quality of said libraries. It doesn't make C++ more or less usefull than Java for a particular task, as the exact same code in C
642.
▲
by
Skinney
13y ago
> How do other languages solve this problem? Reading or writing past the allocated parts of a buffer is treated as a runtime error, wheras in C/C++ you just end up with corrupted memory. > Have you ever heard about smart pointers
643.
▲
by
Skinney
13y ago
RAII doesn't save you from buffer overflows, or memory leaks when you need an object to live beyond the current scope. C arrays and pointers can still be used on the stack, and are sometimes simply the right tool for the job. While RAI
644.
▲
by
Skinney
13y ago
RAII doesn't save you from buffer overflows, or memory leaks when you need an object to live beyond the current scope. C arrays and pointers can still be used on the stack, and are sometimes simply the right tool for the job. While RAI
645.
▲
by
Skinney
13y ago
Why on earth would you use C++ for a massively concurrent app? While I understand using C/C++ for low-memory devices or where deterministic/manual memory handling is important. Concurrency/Paralellism is simply not C/C++
646.
▲
by
Skinney
13y ago
Since any web-framework should be mostly IO-driven, the actual speed of the code matters very little as it will in most cases always be nothing compared to the actual IO-operation itself :/ In case you need certain code to run very fas
647.
▲
by
Skinney
13y ago
If you run out of memory you're just not doing it right. C++ uses less memory than Java, this is true. But if using the same algorithm in C++ with a larger database, generating a bigger PDF perhaps, you will still fail. Could also be t
648.
▲
by
Skinney
13y ago
Haven't used valgrind, but wouldn't you say this is mostly related to Java/JVM-languages being garbage collected? Since analyzing heavy memory use requires you to look at a lot of garbage as well. Forcing a gc does help, but
649.
▲
by
Skinney
13y ago
I understand the argument. In my experience though, documentation and/or tests usually always makes type info redundant. But I'm well aware that people have different views on this. Each to his own.
650.
▲
by
Skinney
13y ago
You can't use custom types without defining them first. Sure, you don't have to decleare where you use them usually, due to type inference, but for type inference to work you actually need to define a type.
651.
▲
by
Skinney
13y ago
> I disagree with your notion of equating types with tests. They are fundamentally different. Types provide substantially stronger guarantees without having to execute any code. I'm not equating types with tests. I'm saying tha
652.
▲
by
Skinney
13y ago
Never really had any problems reading/understanding dynamic code, actually I (and this is highly subjective) think it's easier to read dynamic code because you don't need to read a lot of extra code written to satisfy a compi
653.
▲
by
Skinney
13y ago
> It's not like in Go where people claim that channels and “goroutines” are the solution to every problem or how the Clojure community treats STM/Agents. Well... Go offers mutexes (and other synchronizing constructs) becouse Go
654.
▲
by
Skinney
13y ago
> Wrong. What? Static languages doesn't ensure type safety? Or errors due to wrong use of types doesn't get uncovered in unit tests? Unit tests runs the code, so when it runs code where wrong types or names are a problem, the c
655.
▲
by
Skinney
13y ago
Well, when you add in third-party libraries, Clojure can use these too. I wasn't aware Scala had incorporated Clojuires STM, I thought Scala was married to Actors/Akka?
656.
▲
by
Skinney
13y ago
Why? Static languages ensure type safety (which are uncovered in unit tests anyway) and to ensure this type safety, they need more information from you, the developer. Clojure allows you to write less code which, depending on who you talk t
657.
▲
by
Skinney
13y ago
Clojure uses STM and has persistant datastructures by default. This makes it pretty safe when it comes to concurrency. Clojure also has good support for paralellism through pmap and reducers. Making something run in paralell is often just c
658.
▲
by
Skinney
13y ago
Paralellism is about using multiple cores to speed up a certain operation. Cuncurrency is about doing many things at once. Multi-core concurrency means that your concurrent operations can happen at the same time and thus corrupt shared stat
659.
▲
by
Skinney
13y ago
It's pretty up to date. Xamarin (the company behind Mono) uses the LLVM-backend to create native C# applications to run on iOS (as iOS doesn't allow for JIT compilation).
660.
▲
by
Skinney
13y ago
oooo, shiny!
More ›