Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
180 - Stop relying on other peoples code
Manage episode 345460523 series 2674787
Turbo pack
Vercel have announced Turbopack which they claim will be a Rust based successor to web pack.
https://vercel.com/blog/turbopack
Vercel are claiming speeds of up to 10x faster than Vite and 700 time faster than Webpack.
> “Turbopack only bundles the minimum assets required in development, so startup time is extremely fast. On an application with 3,000 modules, Turbopack takes 1.8 seconds to boot up, while Vite takes 11.4 seconds.”
https://vercel.com/blog/turbopack
> “Since we're not offering 1:1 API compatibility, most Webpack plugins won't work out of the box with Turbopack.”
https://turbo.build/pack/docs/migrating-from-webpack
Should you care?
- Not right away
- Not unless your’e always on the bleeding edge
- Not unless you need speed over connivence
How to stop relying on frameworks and libraries
- Decided if you can write feature yourself using only the core components of the programming language.
- Check the knowledge of the team to find their base line skills.
- Move away from opinionated code ecosystems
- Avoid syntactic sugar covered standards
- The framework you use today may not be the tool you use in the future
- Code like you don’t have access to third party tools
- Care more about core conventions (PSR) than framework guidelines
203 tập
Manage episode 345460523 series 2674787
Turbo pack
Vercel have announced Turbopack which they claim will be a Rust based successor to web pack.
https://vercel.com/blog/turbopack
Vercel are claiming speeds of up to 10x faster than Vite and 700 time faster than Webpack.
> “Turbopack only bundles the minimum assets required in development, so startup time is extremely fast. On an application with 3,000 modules, Turbopack takes 1.8 seconds to boot up, while Vite takes 11.4 seconds.”
https://vercel.com/blog/turbopack
> “Since we're not offering 1:1 API compatibility, most Webpack plugins won't work out of the box with Turbopack.”
https://turbo.build/pack/docs/migrating-from-webpack
Should you care?
- Not right away
- Not unless your’e always on the bleeding edge
- Not unless you need speed over connivence
How to stop relying on frameworks and libraries
- Decided if you can write feature yourself using only the core components of the programming language.
- Check the knowledge of the team to find their base line skills.
- Move away from opinionated code ecosystems
- Avoid syntactic sugar covered standards
- The framework you use today may not be the tool you use in the future
- Code like you don’t have access to third party tools
- Care more about core conventions (PSR) than framework guidelines
203 tập
Усі епізоди
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.