661 reputation
515
bio website
location South Korea
age 32
visits member for 3 years, 5 months
seen 21 hours ago

Current tools.

  • OSX, iOS, FreeBSD.
  • C/C++/Objective-C, Cocoa, Xcode.
  • PostgreSQL.

Feel free to fix my grammar if it's wrong. I always appreciate!


Jul
9
comment How to present asynchronous state change in chart or diagram?
@KeesDijk I am sorry for my vague wording. I don't have solid academic foundation on this topic, and I was just looking for any nice way of visual representation of state transition for concurrent stuffs.
Jun
14
comment How can Swift be so much faster than Objective-C in these comparisons?
@Asik OK I see your point. I agree that you can use value-type approach to avoiding GC, but I don't think that's an opt-out. It's just avoiding. Well, this seems to be a subtle difference of wording choice. Anyway I'll update my answer to reflect that. And I will regard unmanaged memory allocation stuff is something only for alien code (= external resource) unless you provide some proper details.
Jun
14
comment How can Swift be so much faster than Objective-C in these comparisons?
@Asik (1) GC/RC is invented only to serve ref-types - which have an identity. Then value-type doesn't seem to be in focus of this discussion. In addition, value-types can be equally available on any system, so it doesn't provide comparable differences. (2) The idea of allocating GC classes in unmanaged memory is interesting. Is this possible on .NET? I want you to provide some more details. I think I have to change my opinion if this is possible. (3) Latency issue is still remains because ref-types couldn't be removed completely.
Jun
5
comment How can Swift be so much faster than Objective-C in these comparisons?
What you're talking is throughput. Faster has been always a vague term, and can mean anything by the context. If you want to argue about meaning of terms, you should use more precise term rather than faster especially considering current context - realtime graphics.
Jun
5
comment How can Swift be so much faster than Objective-C in these comparisons?
@JanHudec Your significantly faster is simply meaningless in realtime graphics field. That's why I mention huge leap is required on GC. Generational GC is not even close to be spike-free both in theoretically, and practically.
Jun
4
comment Do I need a Mac to develope in Swift for the iPhone?
I don't agree on alone with most programmers part. Most programmers I ever seen mostly uses Mac primarily. Of course, this is personal experience.
May
4
comment Can static and dynamically typed languages be seen as different tools for different types of jobs?
@Giorgio Well, that's maybe because I'm addicted on the static validation stuffs. It's so sweet to me, and I literally can't live without them even on small scale :p
May
4
comment Architectural differences between dynamic and static languages
Thanks. I just wanted to check. I have heard there're some realtime GC implementations, but I haven't heard how they are used practically in the industry…
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 Static and dynamic programming languages
Generally, less rule is better at starting programming because it's easier. But programmers will look for more rules as they get more experienced.
May
3
comment Static and dynamic programming languages
The forced rules are all invented by wise people who experienced old chaos with rule-less programming languages. And now we are all arguing which rules are better or proper, and sometimes wants to go back to anarchy state. It's pretty similar with real-world governing issue. But unlike real-world, programming rules can be perfect, and always gives you some benefit. What you have to do is experience many governing styles to find best one for you.
May
3
comment Choosing a Programming Language
People doesn't care tools only if they don't care about quality and efficiency. Real craftsmen even make their own tools for the best. Many great artists in the history also made their own tools. Anyway, if your work is simple enough, tools doesn't matter. So, it's fully depend on what you're doing. If you want something specific, you need to get proper tools. If you really don't care tools, x86 assembly should be enough for every work. You can't bake a bread with frypan.
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
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.
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.