<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/implemented-subtitles-vb3xgbzr7" -->

---
title: Implemented Subtitles | daily.dev
description: A live coding session follows the development of a personal music player called 'su' written in the Jai programming language, adding subtitle support for...
canonical: https://daily.dev/posts/implemented-subtitles-vb3xgbzr7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Implemented Subtitles | daily.dev
og:description: A live coding session follows the development of a personal music player called 'su' written in the Jai programming language, adding subtitle support for...
og:url: https://daily.dev/posts/implemented-subtitles-vb3xgbzr7
og:image: https://api.daily.dev/og/posts/Vb3XGBZR7.png
og:image:alt: Implemented Subtitles
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Implemented Subtitles

**[Tsoding Daily](https://daily.dev/sources/tsoding_daily)** · 96 min read · 1 upvotes · 0 comments

## Summary

A live coding session follows the development of a personal music player called 'su' written in the Jai programming language, adding subtitle support for Vocaloid songs. The stream covers manually authoring SRT subtitle files, writing a custom SRT parser from scratch (including a novel string-view merging technique to avoid allocations), parsing SRT timestamps into milliseconds, integrating a custom font (Iosevka italic), and positioning subtitle text using a custom UI styling language called Castle. The presenter also riffs on error handling idioms in Go versus Jai, and briefly mentions the upcoming release of 'Order of the Sinking Star' and eventual open-sourcing of the Jai compiler.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=7tCZrpB9iwA>

## Similar posts on daily.dev

- [My new favorite media player creates and translates subtitles on the fly, and I'm saying goodbye to SRT files](https://daily.dev/posts/my-new-favorite-media-player-creates-and-translates-subtitles-on-the-fly-and-i-m-saying-goodbye-to--tngf9fwqo) · XDA Developers · 2 upvotes · 0 comments
- [Subgen: Self-Hosting an Automated Subtitle Generator](https://daily.dev/posts/subgen-self-hosting-an-automated-subtitle-generator-gr6eaavlc) · Noted · 2 upvotes · 0 comments

---

Tags: [#raylib](https://daily.dev/tags/raylib)

[View this post on daily.dev](https://daily.dev/posts/implemented-subtitles-vb3xgbzr7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Implemented Subtitles","url":"https://daily.dev/posts/implemented-subtitles-vb3xgbzr7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/implemented-subtitles-vb3xgbzr7"},"datePublished":"2026-09-28T16:17:47.035Z","dateModified":"2026-09-28T16:18:11.746Z","description":"A live coding session follows the development of a personal music player called 'su' written in the Jai programming language, adding subtitle support for...","image":"https://i.ytimg.com/vi/7tCZrpB9iwA/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/7tCZrpB9iwA/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Tsoding Daily","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Tsoding Daily","logo":"https://media.daily.dev/image/upload/s--6msWm9pp--/f_auto/v1728806157/logos/tsoding_daily","url":"https://daily.dev/sources/tsoding_daily"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/implemented-subtitles-vb3xgbzr7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"raylib","timeRequired":"PT96M","video":{"@type":"VideoObject","name":"Implemented Subtitles","description":"A live coding session follows the development of a personal music player called 'su' written in the Jai programming language, adding subtitle support for...","thumbnailUrl":"https://i.ytimg.com/vi/7tCZrpB9iwA/sddefault.jpg","uploadDate":"2026-09-28T16:17:47.035Z","duration":"PT96M","url":"https://api.daily.dev/r/Vb3XGBZR7","embedUrl":"https://www.youtube.com/embed/7tCZrpB9iwA"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tsoding Daily","item":"https://daily.dev/sources/tsoding_daily"},{"@type":"ListItem","position":3,"name":"Implemented Subtitles"}]}
```

