Web Worker

Web Worker - 前端程序员都爱听的播客

这是一档前端程序员闲聊的播客《Web Worker 播客》。玩票的播客放大了我们的声音,所以如果你想表达技术观点、自荐作品、安利嘉宾请联系我,愿为作品推广尽绵薄之力~

No.49 and Electron-Vite author, Caoxie, had a chat about Electron-Vite-ESM, an amazing experience participating in open source.

Offline Interaction in Beijing#

Wait a moment, before the program starts, let's interrupt with a message. The Web Worker podcast is about to reach its 50th episode. A few of us hosts are planning to hold an offline listener meetup at the Kunlun Nest in Beijing on Sunday, March 31, 2024, at 2:00 PM. Let's meet up and get to know some new friends. If you're interested, please check the showNotes for more information. We will also regularly organize online and offline activities in the future. We hope that through the podcast, we can establish more connections between people.

Event Schedule#

Event Date: Sunday, March 31, 2023
Event Time: 2:00 PM - 5:00 PM
Event Location: Near Kunlun Nest, Jiantan Metro Station, Beijing
Event Format: Offline small-scale MeetUp (no online live streaming)

Event Agenda#

(The event is free, lunch and dinner are not provided, but you can bring your own drinks and fruits)

13:30 Free chatting and casual conversations before the event starts
14:00 Opening - 5 minutes. Introduction of guests present at the event
14:05 Host's magic show "Wings of Magic" - 20 minutes
14:25 Host Xinbao's "Will We Be Happier After Bun Appears" - 20 minutes
14:45 Host Smart's "Front-end Storm for 20 Years, Web Worker's 3rd Anniversary" - 20 minutes
15:05 Special guest Ruifeng - 20 minutes. "My Open Source Journey & Interesting Stories in Open Source"
15:25 Roundtable discussion - "Chatting with Randy from about the Experience of Hosting a Podcast and the Experience of Hosts and Listeners in Web Worker's 50th Episode" - 60 minutes. Listeners can join the discussion, freely use the microphone, and share their favorite episodes and suggestions for improvement.
16:25 Group photo, end of the event, free interaction


Program Introduction#

🥳 The new episode of WebWorker is out! This time, we are relearning and getting to know Electron. We have invited @cao_xie, the person in charge of #electron_vite organization.


We will talk about Electron, Vite, and ESM, and how these three technologies are intertwined and evolving. We will also discuss interesting experiences related to open source, Tauri, front-end advancement, work-life balance, and more. Welcome to listen!



If the QR code expires, add xinbao965.


00:00 Web Worker plans to hold an offline event!
01:20 The main content begins. We invited Xiaobaicai Smart and Caoxiemeihao!
02:10 Introduction of Caoxiemeihao, the author of Electron Vite, and the author's Zhihu address.
03:00 Caoxiemeihao and BlackHole, a previous guest of the podcast, met offline and online.
04:20 Electron and Vite are different technologies. What prompted the guest to combine them?
06:00 How do the hosts feel when using Electron?
07:51 What work has the guest done? How is the performance, efficiency, and development experience? The pain point of packaging is solved, and the development experience is improved.
12:00 How is the development of the Electron-Vite project? How is it planned for the future? What is the relationship with Electron Forge? How to choose between them? The easiest way to get started is to create a project using the official Vite scaffold.
15:50 How to differentiate and choose between Electron-Vite and Electron Forge? Small and refined or large and comprehensive?
20:30 What can we learn from this project? Differentiation in the same solution, such as through a plugin system and choosing a complete set of solutions.
21:45 Regarding the Electron-Vite project, the guest wants to clarify some things, such as project development, community recognition, and official integration. They hope to contribute high-quality and transparent work to the open-source community.
25:00 Starting from this matter, let's talk about the experience and thoughts of participating in open source.
26:30 What is Forge mentioned? What is the relationship with Electron Builder? What is the relationship with Electron-Vite? The story behind it.
31:55 What can we think of when talking about Forge and Builder? How to promote and expand the audience and influence of the projects.
33:00 How is the future planning and development of Electron Forge and Electron Builder? Forge is the main official support. For example, the Mac version of QQ in 2023 and the story behind Vite's clear-screen.
37:00 How is the combination of Electron and ESM progressing in 2024? What are the complex technical points behind it? What are some interesting stories?
42:00 In-depth discussion of the C++ part in Electron and its combination with Node, where are the complexities? Mentioning Electron v28 and Forge v7.3
46:30 What work has been done in the vite-plugins repository? Two videos were shared on Bilibili, "Vite / require / cjs / esm loading will have a completely new understanding."
48:20 The guest has made a lot of efforts and practices in the three directions of ESM / Vite / Electron. Associated with the wonderful links in the D2 sharing event.
51:00 Starting from the technical choices of breaking change, different voices in the community.
53:10 Besides coding, what other work has been done in terms of operation and promotion? Such as offline and online activities, how does it feel? What are the benefits of offline events? Real connection and interaction between people.
60:48 How long have you been working? Is it tiring? What are you busy with usually? Recently, Caoxiemeihao has been playing "The Legend of Zelda: Breath of the Wild" and finds it relaxing.
64:10 What new things are you currently learning? What do you want to do in the future? We can't avoid AI, the feelings brought to us programmers by ChatGPT and CodeCopilot, and learning and practicing Rust. It may be a very good learning material.
69:40 What experiences and pitfalls do you have for students and newcomers to the industry? Shielding some noise, theme-based and link-based learning. PS: Caoxiemeihao is a programmer who switched professions.
74:30 From being a beginner in open source to learning and understanding step by step through raising issues and submitting pull requests, mentioning the motivation and feelings of participating in open source, inspired by Antfu.

Behind the Scenes#

Xinbao, Xiaobaicai, and Smart participated in the editing.

Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.