693 reputation
516
bio website
location South Korea
age 32
visits member for 3 years, 10 months
seen 10 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!


Dec
5
comment How the Erlang get soft-realtime with GC?
@SK-logic I see. Now everything is clear to me. Thanks for making me to realise that. I think this kind of static allocation control is same on RAII systems. I think I will change some stance to RTGC stuffs!
Dec
5
comment How the Erlang get soft-realtime with GC?
@SK-logic Do you mean the GC system is reporting precise (or at least larger) unreclaimed memory size, and user need to adjust garbage generation by referring the information...?
Dec
5
comment How the Erlang get soft-realtime with GC?
Yes, this is unlikely to happen, but (IMO,) must be solved if we need a guarantee of time deadline.
Dec
5
comment How the Erlang get soft-realtime with GC?
@SK-logic My question comes from concern about memory pressure. If it guarantees fully distributed (over time) small collections, sometimes heavy collection workload will be deferred, and program may create more garbages while it has been deferred. If this continues, memory can be exhausted in short period. Naive GC solves this by performing eventual full GC, but it is impossible in RTGC. Then I have to tune garbage generation to fit to the GC distribution algorithm, but how can I guarantee (because it's RT) proper workload distribution without knowing GC timing...?
Dec
4
comment How the Erlang get soft-realtime with GC?
@SK-logic I agree that there're some RTGC implementations. Anyway I have a big question; How can you guarantee collection workload distribution where you cannot know the collection timing?
Aug
2
comment Can Swift be used for anything besides iOS and OSX apps?
IMO, Swift itself is not locked to objc. It is providing objc compatibility layer as an extension, and I think we can use it without objc runtime if we don't use the features.
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.
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 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.