文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 招聘 专题 新闻
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» Java » Obfuscator does not slow Java program + some FAQ       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: [转载] Obfuscator does not slow Java program + some FAQ  ( 查看:93  回复:0 )   
 
kjg589
新新人类  点击可查看详细



帖子 31
精华 0
无忧币 5063
积分 135
阅读权限 20
注册日期 2008-2-1
最后登录 2008-4-24 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-4-7 14:29   标题:Obfuscator does not slow Java program + some FAQ
上一帖 |
Does using of obfuscator slow the running of Java program?

The answer is NO.

On the opposite, in many cases, good obfuscator will speed-up the Running of Java Program by optimizing calling stacks, reducing method calls, reducing constants, as well as reducing byte code sizes.

Almost all mobile games are using obfuscators. No mobile games found slowing down. As we all know, speed is very critical in games.

Actually, all mobile games are speeded up by obfuscators by saving precious resources on mobile devices.

From my working knowledge of obfuscator, there is no reason, obfuscator, even the not-the-best obfuscators, will slow down the Running of Java Program.

Good obfuscator is not only protecting your source code, reducing your jar size, but also speed-up your Java program.

When and where I should or should not use an obfuscator?

1) Where your code is using reflection or introspection, such as your set/get methods in your JavaBeans. Or Class.forName() etc. Most available obfuscators have a way to configure that, let you exclude classes or methods.

2) Overly complicated Java programs, there is no need to obfuscate, since reverse engineering is almost useless or worthless for hackers. Program with top/state secrets would be exceptions.

Do I need to be careful when I use obfuscator?

1) All software is bug-free until you find one!
2) Obfuscator is software written by human beings. There are no exceptions, there might be bugs.
3) Test your software heavily and throughly, please!

Which obfuscator should I use?
I have used Progard and Retroguard. I think Proguard is very good. Do you own research and comparison, and choose the right one for you or your company.

Where do I find Proguard?
Google.com Hehe

How to use an obfuscator?
RTFM!
=======================
P.S. Why do I put on this topic?

It might not be a common misunderstanding. However, at least, somebody in CJSDN thinks the wrong way. The thread was deleted this evening (10-05-2005 19:00-20:00 Beijing standard time) from 灌水乐园 forum for some unknown reasons.

Put here might benefit some other members, I think.



网络工程师到底该不该去考CCIE认证?
2008-4-7 14:291楼
[ 顶部 ]
     
论坛跳转:  

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号