6 comments

  • owenpalmer4 hours ago
    I can&#x27;t seem to tell exactly what they built. They call it a runtime, but they&#x27;re using NodeJS?<p>Did they implement a transpiler in Rust?<p>They also seem to be calling Rust from JS, but not through wasm...<p>They seem to be doing something with Rust and http, but they&#x27;re also just using &quot;Pingora&quot;...<p>Additionally, their homepage is about 20 fps while scrolling on my phone (pixel 4a, brave)<p>I would honestly love for someone to explain to me wtf is going on.
    • wmf4 hours ago
      Looks like a Node.js wrapper.
  • caditinpiscinam4 hours ago
    UI note in case the creators of this site are reading: having a right-click on the site logo open a special logo-download menu is probably the wrong choice. If I right click on your site logo it&#x27;s because I want to open your homepage in a new tab while keeping the original blog post open. The current behavior is unexpected and makes it hard to navigate the site.
    • airstrike4 hours ago
      Ctrl+Click or Cmd+Click to open in a new tab?<p>I for one loved the context menu on logos
  • waterTanuki1 hour ago
    &gt; First, we knew we wanted to extend Encore to more languages over time, and we&#x27;d seen projects like Prisma and Pydantic successfully use a Rust core with bindings into Node.js and Python respectively.<p>On an unrelated note Prisma decided to rewrite their Rust core in Typescript. <a href="https:&#x2F;&#x2F;www.prisma.io&#x2F;blog&#x2F;from-rust-to-typescript-a-new-chapter-for-prisma-orm" rel="nofollow">https:&#x2F;&#x2F;www.prisma.io&#x2F;blog&#x2F;from-rust-to-typescript-a-new-cha...</a>
  • xbar4 hours ago
    I like the seeing the avoidance of generics hell. Traitsmaxxing.
  • jauntywundrkind6 hours ago
    Very side note, but really liking seeing Elysia so close to the top on the benchmark list.<p>I&#x27;ve been using it, and pointing my LLM&#x27;s to it as example code, because it&#x27;s type system is so so much better than Hono&#x27;s. <a href="https:&#x2F;&#x2F;elysiajs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;elysiajs.com&#x2F;</a><p>I didn&#x27;t know that it was also flipping fast as frell. (Encore&#x27;s benchmark is showing them as faster still, of course!)
    • speak_on6 hours ago
      Type system via a single schema looks similar to Hono+OpenApi+RPC, or is there a different advantage?
      • pier254 hours ago
        Maybe I&#x27;m wrong but it seems more like Hono+Zod
        • speak_on1 hour ago
          The parts where responses have schema-consistent types (OpenApi) and the same types can be used on the client without extra work (RPC) are outside of Zod.
    • pier256 hours ago
      &gt; <i>because it&#x27;s type system is so so much better than Hono&#x27;s</i><p>Can you elaborate?
      • jauntywundrkind2 hours ago
        I wish I had a better encapsulation, a better anecdote, that shared the improvement I&#x27;ve felt nicely.<p>Elysia does have a write up on how they compare to Hono. Their sound type safety section helps show some differences: <a href="https:&#x2F;&#x2F;elysiajs.com&#x2F;migrate&#x2F;from-hono.html#sound-type-safety" rel="nofollow">https:&#x2F;&#x2F;elysiajs.com&#x2F;migrate&#x2F;from-hono.html#sound-type-safet...</a>