Reputation
31,025
Next tag badge:
117/100 score
16/20 answers
Badges
5 63 110
Newest
 Organizer
Impact
~677k people reached

  • 0 posts edited
  • 9 helpful flags
  • 373 votes cast
2h
answered Can an abstract class be instantiated?
2d
comment Why do Haskell and Scheme use singly-linked lists?
Think about it, how would you even construct a doubly-linked immutable list? You need to have the next pointer of the previous element point to the next element and the prev pointer of the next element point to the previous element. However, one of those two elements is created before the other, which means one of those elements needs to have a pointer pointing to an object that doesn't exist yet! Remember, you can't first create one element, then the other and then set the pointers – they are immutable. (Note: I know there's a way, exploiting laziness, called "Tying the Knot".)
Aug
28
comment Is Objective-C an Interpreted or Compiled language?
@Monolo: JRuby+Truffle can (experimentally) use a C interpreter called TruffleC to interpret Ruby C extensions at runtime, instead of linking against natively compiled libraries. This, interestingly, results in better performance than using compiled C extensions from YARV (the "standard" Ruby implementation). Let me repeat that: using interpreted C extensions from JRuby is faster than using compiled C extensions from YARV: chrisseaton.com/rubytruffle/cext chrisseaton.com/rubytruffle/modularity15/rubyextensions.pdf
Aug
28
comment How to *detect* if open source software is used in a commercial product?
Not a single one of the licenses you list as examples prohibits use in commercial applications, so there is nothing to detect. You are basically asking us how to detect something which doesn't exist, which simply doesn't make sense.
Aug
28
comment How to *detect* if open source software is used in a commercial product?
Where did I mention the GCC runtime library? I'm talking about embedding GCC into XCode, not about embedding the GCC runtime library into code compiled with GCC.
Aug
28
comment How to *detect* if open source software is used in a commercial product?
XCode is commercial software which until recently used GCC, which is probably THE prototypical GPL-licensed software. Apple switched to Clang, but not for reasons of licensing, the main reason to switch to Clang was that Clang is explicitly designed as an online interactive compiler library for embedding into IDEs, refactoring tools, syntax highlighting editors, whereas GCC was (at that time) a monolithic command-line batch-compiler.
Aug
28
comment How to *detect* if open source software is used in a commercial product?
I was recently driving a Volkswagen Polo, and when toying around with the buttons on the console, I actually found a menu item labeled "Copyrights", which displayed a copy of the GPL right on the car's console. If a 10000€ car isn't a commercial product, I don't know what is. My phone runs a GPL'd operating system as does my router, my DVD player and one of my tablets, and as my bank account can tell you, those are definitely commercial products. My iPad and my MacBook run BSD-licensed OS's. Until recently, I ran Windows XP, which includes a lot of BSD-licensed software.
Aug
28
comment How to *detect* if open source software is used in a commercial product?
"Out of the many flavors that exist (BSD, MIT, GPL, LGPL, Boost) there are a lot that prohibit using the code in comercial products" – Huh? Not a single one of those you listed prohibit using the code in commercial products. All of the licenses you listed are both Open Source and Free Software, and both the Open Source Definition and the Free Software Definition explicitly forbid such usage restrictions.
Aug
26
awarded  Organizer
Aug
26
revised What is a URI Scheme?
This has absolutely nothing to do with Scheme.
Aug
25
comment Does CPU need local cache if Intel and Micron 3D XPoint is used?
Damn you, constant speed of light! :-D
Aug
24
comment When is it appropriate to use expression bodied members?
This makes no sense. "limit this to simple expressions and statements"? Huh? It doesn' even work with statements, only with expressions! I'm also not convinced that adding clutter (two parentheses and a return keyword) can ever lead to more readability. After all, the complex expression is still the exact same complex expression, just buried in syntactic clutter.
Aug
24
comment When is it appropriate to use expression bodied members?
Umm, when the body of the member is an expression?
Aug
24
comment Open Source License But Maintain Prominent Attribution
Okay, here comes my standard plug: this would be a perfect question for the newly in-beta OpenSource.SE!
Aug
22
awarded  Guru
Aug
19
comment Commercial use of an open source software
I cannot read the minds of the CGAL developers. If you want to know what they have to say, ask them.
Aug
19
comment Commercial use of an open source software
"Can I make the source available only to those who bought the software?" – Yes. "Can the customers give the source code to anybody?" – Yes. "Will this happen?" – You tell me. They're your customers, I don't know them. "How is it considered by the open source community?" – How is what considered by the Open Source community?
Aug
18
awarded  Guru
Aug
18
answered Comparing the Java language to non-Java JVM languages
Aug
18
awarded  Nice Answer