Reputation
868
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
7 19
Impact
~51k people reached

  • 0 posts edited
  • 3 helpful flags
  • 69 votes cast
May
4
comment Architectural differences between dynamic and static languages
Can Singularity provide realtime-aware maximum latency guarantee?
May
3
comment Do dynamic typed languages deserve all the criticism?
IMO, headers are also a great outline documentation due to its compactness and clarity.
May
3
comment Why do people consider Python a weak language?
Python programs lack static program validation. Because Python doesn't force any. There's almost no way to validate program before running. (far worse then equivalents in static languages even if exists) Though static validation is not an omnipotent, but far better than nothing. Also, its dynamic nature make it harder to predict program's result. It can be nice for small scale programs, but hell in a large scale. That's why Python is mainly considered as a DSL rather than a system language, and pretty same to most dynamic languages.
May
3
comment Java Heap Allocation Faster than C++
@Demetri But in reality, that only if case happens too much (and again, even unpredictably!) unless you can satisfy some impractical constraints. In other words, C++ is far easier for the any realtime situation.
Jan
20
accepted What is dispatch? Does it imply dynamic resolution?
Jan
19
comment What is dispatch? Does it imply dynamic resolution?
If the term dispatch can be used on both of static and dynamic, why does multiple dispatch imply dynamic? What about static multiple dispatch?
Jan
19
comment What is dispatch? Does it imply dynamic resolution?
Can I treat C++ free functions are supporting static multiple dispatch?
Jan
19
comment What is dispatch? Does it imply dynamic resolution?
@miraculixx That's the article. And the Wikipedia article don't mention about static/dynamic attribute, so I was fully confused.
Jan
19
asked What is dispatch? Does it imply dynamic resolution?
Dec
8
comment Java Heap Allocation Faster than C++
Soft-realtime doesn't mean you're OK to stop usually. It just means you can pause/retry in real bad situation - usually unexpected - instead of halt/crash/failure. No one would like to use usually pausing music player. The problem of GC pause is it happens usually and unpredictably. In that manner, GC pause is not acceptable even for soft-realtime application. GC pause is acceptable only when users don't care application quality. And nowadays, people are not that much naive anymore.
Dec
4
comment Checked vs Unchecked vs No Exception… A best practice of contrary beliefs
Expected = control flow = anti-pattern of exception. Exception shouldn't be used for control flow. If it's expected to produce error for specific input, then it just be passed a a part of return value. So we have NAN or NULL.
Nov
19
awarded  Notable Question
Nov
15
comment Should UTF-16 be considered harmful?
@JasonTrue Thanks for that! I really needed it. I am sorry for not fully reading Unicode standard. Now I am on Unicode website, and see repeating mentions about that equality.
Nov
15
comment Should UTF-16 be considered harmful?
@JasonTrue I really want some guaranteed way badly. If you have any clue please help me to share that guarantee.
Nov
15
comment Should UTF-16 be considered harmful?
@JasonTrue Still, only the results are equal coincidently, not guaranteed by design. Same thing was happen in 32-bit memory addressing, Y2K, UTF16/UCS2. Or do we have any guarantee of that equality? If we have, I would gladly use that. But I don't want to write a possible breakable code. I am writing a character level code, and lack of a guaranteed way to transcode between UTF <-> code point is bugging me a lot.
Nov
15
comment Should UTF-16 be considered harmful?
AFAIK, UTF-32 is still variable length encoding, and not equal to UCS4 which is specific range of code point.
Nov
15
comment Should UTF-16 be considered harmful?
I am not sure what caveats on UTF-8, but at least, those caveats (if exists) should be a lot more visible than UTF-16, because the non-ASCII result will look broken immediately.
Oct
25
comment Is modern C++ replacing C#? Is Microsoft pushing developers to adopt C++?
C# haven't been major or core language of MS. Their core API is always in C/C++, all important apps (VS,Office,DX) are all written in C/C++ (or their own languages) C#/VB is more close to one-time use scripting layer rather than a language for serious(strategic) coding to MS themselves. If MS move on to some new language, it should be something else rather than C#.
Oct
16
comment Why is Objective-C not widely used beyond Cocoa environments?
At the point of this answer written, there was really nothing possible to run Objective-C 2.0 on non-Apple platform. Anyway, a lot of efforts made after that, and now we can expect to run Objective-C 2.0 on FreeBSD using GNUstep pretty smoothly.
Aug
28
comment If immutable objects are good, why do people keep creating mutable objects?
+1 for where objects don't have an identity. Making up efficient reference-able identity was mostly impossible to me. I still want a trick to solve it.