"haxe.remoting" versus "tink_"

Well, first of all tink_web is not in any way the replacement for haxe.remoting. There are a number of reasons why haxe.remoting got moved out of the std lib:

  1. it’s not cross platform (e.g. no support for nodejs) and nobody seems to care enough to change that, so also it can’t be that popular - seems that for example nobody on the compiler team is seriously using it anymore
  2. it’s reflection based, which makes it slow, somewhat unreliable, potentially unsafe and unsuitable for minification
  3. it uses a non-standard protocol that is not particularly space efficient.

With practically no changes over the past 10 years (versus the underling haxe serialization which gets improved/adapted quite regularly and therefore is in the std library) I think there’s no reason to panic about haxe remoting now being in a library.

If haxe remoting works fine for you, you can continue using it. Other people have other constraints and everybody should use what’s best for them :wink:

3 Likes