how this compare with the apple dongle?
This thread is rather ancient. But...
The Apple solution is bidirectional (when used with relatively modern versions of macOS) . The Star Tech one is not. Not sure if the Apple version supplies 12W of power. (getting the TBv2-FW adapter to work probably more pressing than some heavy power draw external, old school 3.5" HDD from even much further back in time. TBv2 docks and driver with own power source won't need 12W either. ). At one point early Thunderbolt versions only went up to 10W ( by v2 it could have had a minimum of 12W , but not sure. )
Neither one supplies power in the "opposite" direction (can't use TBv2 docking station to power a TBv3 system ).
Reportedly the StarTech solution is just Intel's reference design.
"...
That one is Intel's reference design. Startech did not design/engineer anything about it. They just order it with their name printed on it and burned in its ROM, and simply design what box it comes in. ... "
https://forums.macrumors.com/thread...pter-alongside-new-macbook-pro.2009881/page-5
I think Intel pragmatically priced this before Apple did what their solution did and never went back to change it. Pretty likely the bill of materials for this are whatever the Intel lab folks cooked up during TBv3 development for their 'test boards'. (not designed to be the optimal end product. Just something that works. ) Also this StarTech box probably works with more WindowsPC Thunderbolt systems with quirks than the Apple one does.
Apple KB tech doc on the adapter.
Connect a Mac that has a Thunderbolt 3 port to a device that uses a Thunderbolt or Thunderbolt 2 cable.
support.apple.com