Don’t be frighten away by the 4M “Hello World” -

本文探讨了WPF应用程序的大文件尺寸问题,指出虽然简单的“Hello World”程序可能占用4MB的空间,但随着业务功能的增加,这些初始体积中包含的数据访问、图像处理、用户界面和多线程等功能支持变得非常实用。文章通过对比C语言程序的增长情况,进一步说明了WPF框架带来的便利。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

"I like WPF because it helps me build nice user interface. What I can’t bear is its huge program size. A simple ‘Hello World' takes up 4M disk size!"

True that a 4M hello world is big. True until you stop building “Hello Worlds” to your customers. What customers need usually is not a “Hello World”, they need you to simplify their very complicated business logic, they need your program to be safe and robust, they need nice-looking and easy-to-use UI, they need much more!

As you start adding features you customers asked for, you realized that  there’s much provided in the 4M – there’s support for data accessing, imaging, user interface and threading; thread safety and network safety is taken care of; just everything is very handy! When the features are complete you found the program size has grown from 4M to 4.5M.

You come to think of before when you were using C, yes, the program had grown from 4K to 45M!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值