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.

Show HN: Y2K – A 0-byte code golfing language using pre-2000 timestamps

2 pointsby benbusbyover 2 years ago
Happy New Year HN. I thought it would be a fitting time to share a project I&#x27;ve been working on called Y2K. It&#x27;s a code golfing language that can interpret file timestamps as code and ignore all file content, effectively allowing a set of 0-byte files to collectively form a solution to a problem. The repo has some small examples, including a simple &quot;Hello World&quot; program, printing the Fibonacci Sequence up to N terms, and Fizz Buzz. Most of the current examples only create 1-3 files when exported.<p>To make it easier to write programs, the interpreter allows writing all logic &quot;raw&quot; as file content, rather than requiring users to manually modify file timestamps one by one. These files can then be exported to a set of 0-byte files with their timestamps modified to achieve the same functionality.<p>It&#x27;s still in a fairly early stage and has quite a few limitations, but I&#x27;m curious what people think at this point. It&#x27;s been a fun project to work on and I&#x27;m excited to continue expanding on its functionality moving forward!

no comments

no comments