TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

THT: A modern re-design of PHP (v0.8.1 Beta)

4 pointsby jlesk7 months ago

1 comment

throwaway888abc7 months ago
&gt;Organized Library PHP&#x27;s massive library (2,000+ functions) is curated and organized into modules &amp; classes.<p>&#x2F;&#x2F; PHP in_array(&#x27;needle&#x27;, $hayStack)<p>&#x2F;&#x2F; THT $hayStack.contains(&#x27;needle&#x27;)<p>This looks more or less like a new language ? It must be amazing amount of time and energy to rewrite PHP in to this.<p>I don&#x27;t see the benefits. I understand the Facebook&#x27;s HHVM had some. (<a href="https:&#x2F;&#x2F;hhvm.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hhvm.com&#x2F;</a>)<p>Or Swoole (<a href="https:&#x2F;&#x2F;openswoole.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;openswoole.com&#x2F;</a>) has it.<p>But i&#x27;m not clear of THT (also typical apple vs oranges benchamrkTM included).<p>2cents
评论 #41882191 未加载