Tcl Top 10
There are many different reasons why people use Tcl but most of them
fall into just a few categories. Here are the top ten reasons why people
use Tcl today.
1. Rapid development
2. Graphical user interfaces
3. Cross-platform applications
4. Extensible applications
5. Flexible integration
6. Ready for the enterprise
7. Testing
8. Easy to learn
9. Network-aware applications
10. The Tcl community
11. BONUS: It's free!
1. Rapid development
The most important reason why people use Tcl is that it gets their job
done faster. In many cases you can implement applications 5-10x faster
with Tcl than with other languages, especially if the application
involves GUIs, string-handling, or integration. Once an application is
built in Tcl, it can also be evolved rapidly to meet changing needs.
2. Graphical user interfaces
With its Tk toolkit, Tcl provides facilities for creating GUIs that
are incredibly simple yet remarkably powerful. For example, the Tk
canvas widget makes it easy to create displays with graphics, yet it
also provides powerful facilities such as bindings and tags. The text
widget provides sophisticated hypertext capabilities and more. No
other toolkit has the same combination of simplicity and power. Tcl
attracted much of its early following because it was the only sane way
to create user interfaces under Unix; now it provides these same
benefits on Windows and Macintosh platforms too.
3. Cross-platform applications
Tcl runs on Windows (95 and NT), Macintosh, and nearly every
imaginable Unix platform. This makes it an outstanding tool for creating
cross-platform applications. For example, the same Tcl script can run
on Unix, Windows, and Macintosh and display a graphical user interface;
the GUI will have a different look and feel on each platform, to
match the user's expectations for that platform. Because it runs on
all major platforms Tcl provides an excellent management and integration
tool for mixed environments, such as those with Windows desktops and
Unix servers.
4. Extensible applications
If you want to create a powerful application that can be scripted and
extended by its users and modified in the field, you'll need to
include an interpreted scripting language in the application. Tcl is
unmatched for this purpose. The Tcl interpreter was designed from the
start to be embedded in a variety of applications. It is easy to
incorporate Tcl into an application, and the Tcl interpreter melds
naturally with the application, almost as if the Tcl language were
designed exclusively for that particular application.
5. Flexible integration
With Tcl it is easy to coordinate existing components and applications
so that they work together effectively. For example, it is easy to use
Tcl as a control language for special-purpose hardware and protocols,
add a GUI or network interface to a legacy application, or integrate new
Java applications with legacy code in C or C++. This makes Tcl a
powerful tool in areas such as network management and factory
automation.
6. Ready for the enterprise
With the Tcl 8.1 release, Tcl became the first (and only) scripting
language suitable for large server applications and other
mission-critical enterprise uses. The benefits of scripting, such as
rapid development, flexible evolution, and easy integration, have been
known for years, but until Tcl 8.1 no scripting language provided all
the facilities needed for enterprise applications, which include
internationalization, thread safety, cross-platform portability, great
GUI capabilities, embeddability, Internet support, and database access.
Tcl 8.1 added internationalization and thread safety, making Tcl the
first scripting language to meet all these requirements and bring the
benefits of scripting to the enterprise.
7. Testing
Tcl is an ideal language to use for automated hardware and software
testing, and it may well be the dominant language used for this purpose.
With Tcl you can easily connect to testing hardware or internal APIs of
an application, invoke test functions, check the results, and report
errors. Tcl's interpreted implementation allows tests to be created
rapidly, and the tests can be saved as Tcl script files to reuse for
regression testing. If you are testing a software application, Tcl
allows you to connect directly to lower-level APIs within the
application, which provides much more precise and complete testing.
8. Easy to learn
Tcl is a very simple language. Experienced programmers can learn Tcl and
produce their first interesting application in just a few hours or
days. Casual programmers can also learn Tcl quickly. (Lesson 1) Tcl is
often used in situations where experienced programmers create a base set
of facilities, and more casual programmers write Tcl scripts to
customize those facilities, create business rules, etc.
9. Network-aware applications
No platform has easier to use networking facilities than Tcl. Servers
and clients can be created in a few minutes with just a few lines of
code. (Example) Tcl provides a great way to add network interfaces to
legacy applications.
10. The Tcl community
Another attractive reason for using Tcl is the large and helpful
community of Tcl users and developers. The Tcl community is a constant
source of ideas, free extensions, applications, and technical support.
11 BONUS: It's free!
相关推荐
车载测试工程师必备:5分钟搞定CANoe台架搭建(附DBC导入技巧)
本文为车载测试工程师提供快速搭建CANoe测试台架的实用指南,涵盖硬件连接、DBC文件导入及常见报错解决方案。通过详细步骤和高效技巧,帮助工程师在5分钟内完成台架搭建,提升车载测试效率,特别适合紧急功能验证场景。
认识Tcl/Tk
1. 易学易用,跨平台2. 可扩展性好,有许多现成的扩展。一句话,学好了也可以帮你做很多事情的。对于极端追求performance的application,不建议使用Tcl/Tk。下面转载一篇介绍的文章:选择Tcl/Tk语言的十大理由 --------------------------------------- 转载自Tcl/Tk中文网 http://tcltk.126.com 介绍Tcl/
[OrCad电路板设计系统].Orcad.Pspice.9.2下载安装
Orcad.Pspice.9.2详细下载安装图文步骤1 安装前准备工作1.1 下载安装包1.2 解压2 安装时步骤2.1 安装文件2.2 破解文件3 安装完成 1 安装前准备工作 1.1 下载安装包 打开百度网盘APP 链接:https://pan.baidu.com/s/1cMFxHUvuh5iEhFVT-lvciQ 提取码:7m65 1.2 解压 解压下载好的安装包 2 安装时步骤 2.1 安装文件 1.点击Setup安装文件,出现警告对话框,告诉你应该关闭所有病毒防火墙,点击确定 2.进入安装界面,
SINOCES 2012 消费电子
记不清是连续第几年去看消费电子了,基本成了习惯每年一看,反正周末有时间转转么… 不过总体感觉是一年不如一年,今年非本地公司大展台基本就剩了佳能、飞利浦和TCL… 去年的三星、索尼、诺记、MS等都不见踪影… 估计这么下去到2015就成了本地企业+外地小商品展销会了… 进门最大俩展位自然是海尔海信… 海信主打电视,3D、安卓… 还有海信的安卓平板: ...
JLink 添加国产芯片手把手教程(雅特力 + 华大)
拷贝厂商算法文件夹 + 配置 JLinkDevices.xml。雅特力直接复制官方配置,华大按需添加芯片节点,操作一次,永久生效,以后调试 AT32、HC32 再也不用愁找不到型号。这套方法适配全版本 JLink,也是国产 MCU 替代项目的必备技能,看完照着做,新手也能轻松搞定。百度网盘资料分享:通过网盘分享的文件:jink驱动(包括新增芯片型号)链接: https://pan.baidu.com/s/14SLgrPfyof1lglD6VQguAw?pwd=cfuq 提取码: cfuq。
Vue项目实战:用DataV的dv-scroll-board打造高颜值滚动表格(附完整代码)
本文详细介绍了如何在Vue项目中使用DataV的dv-scroll-board组件打造高颜值滚动表格。从基础集成到高级配置,包括动态数据处理、深度样式定制、性能优化策略以及交互增强方案,帮助开发者快速实现企业级数据展示需求。特别针对样式优化和滚动表格的常见问题提供了实用解决方案。
VS 2005 Team Suite 轻松搞定白盒测试
注:此文的Word版本首次发表于: http://bbs.5etesting.com/viewthread.php?tid=18&highlight=%B0%D7%BA%D0%B2%E2%CA%D4 VS 2005 Team Suite轻松搞定白盒测试 (此文已于《测试
OsgEarth实战:飞机模型动态轨迹与雷达扫描效果实现详解
本文详细介绍了如何使用OsgEarth实现飞机模型动态轨迹与雷达扫描效果。通过实战案例,讲解了模型加载、路径规划、动态轨迹绘制、飞行姿态计算以及雷达扫描效果的实现方法,并提供了性能优化技巧,帮助开发者高效完成三维可视化项目开发。
德国市占率第一的科沃斯携最新扫地机器人亮相IFA展
全球三大消费电子展(中国AWE、美国CES、德国IFA)之一的IFA即将在柏林拉开帷幕。作为全球最早的家用服务机器人研发和生产商之一,科沃斯机器人携旗下最新扫地机器人、擦窗机器人等产品亮相展会,与来自世界各地的家电品牌及消费者共享科技带来的智能生活。 德国IFA展开始于1924年,至今已走过了93年,是全球最顶级的科技品牌、产品的展示舞台,每年都吸引...
HighScore3.0实战指南:XRD物相分析从入门到精通(持续更新版)
本文提供HighScore3.0软件进行XRD物相分析的完整实战指南。从软件设置、数据导入、背景扣除、寻峰等预处理步骤,到核心的Search & Match物相搜索匹配、Rietveld精修定量,以及结果输出与常见问题排查,系统讲解了从入门到精通的全流程操作与核心技巧,帮助用户高效完成材料物相鉴定与分析工作。
Rockchip开发板FUSB302快充调试避坑指南:从设备树配置到驱动修改全流程
本文详细解析了在Rockchip开发板上调试FUSB302快充功能的全流程,重点涵盖设备树配置、驱动修改及硬件设计避坑指南。针对PD协议协商失败、电流倒灌等常见问题,提供了从软件配置到硬件排查的实战解决方案,帮助嵌入式工程师高效完成快充功能开发。
如何安装.src.rpm软件包
有些软件包是以.src.rpm结尾的,这类软件包是包含了源代码的rpm包,在安装时需要进行编译。这类软件包有两种安装方法: 方法一: 1. 执行rpm -i your-package.src.rpm 2. cd /usr/src/redhat/SPECS 3. rpmbuild -bp your-package.specs 一个和你的软件包同名的specs文件 4. cd
测试用例设计工具大盘点:总有一款适合你
本文旨在帮助测试工程师、开发人员及团队管理者快速了解主流测试用例设计工具的特点、适用场景和选择逻辑。覆盖工具类型包括传统文档工具、开源管理工具、商业集成平台及新兴AI工具,范围涵盖中小团队到大型企业的不同需求。本文从“测试用例设计的痛点”切入,用生活案例解释核心概念;接着按“工具类型”分类盘点主流工具(附优缺点对比表);再通过“小团队/中大型团队/敏捷团队”等真实场景教你选工具;最后展望AI等未来趋势,帮你“一次学透,终身受用”。
把emacs配置成source insight-转
来源:www.cublog.cn/opera/showart.php?blogid=5421&id=37299把emacs变成代码浏览器,类似sourceinsight,不用再在windows下看代码了所需软件: cscope-15.5.tar.gz http://sourceforge.net/projects/cscope ecb-2.32.tar.gz http:
汉书HE8,好用的汇编代码编写工具
汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大
大中型超市收银系统(可直接运行)
光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开
Linux引导的恢复
我原来用的是双系统:Windows XP+Redhat Fedora3,用grub引导。由于操作失误,偶把引导程序搞坏了,两个系统都进不去,郁闷。怎么办?先google吧。在网上搜了一通之后,发现有好多关于引导恢复的文章。偶就说下我的步骤吧,作个备忘录:1. 用Linux安装盘1引导系统2. 按F5,在boot:光标下输入linux rescue,进入补救模式3. 运行chroot
SIMATIC S7-1200, S7-1500 PID 控制[手册]
SIMATIC S7-1200, S7-1500 PID 控制[手册]
某公司Linux平台C程序员面试时问的问题
1 你做的项目代码有多少行?2 C语言中volatile关键字的作用是什么?3 怎样编写守护进程4 IPC有几种5 创建管道时用哪个系统调用6 Bash的问题7 一个进程在内存中的结构
老版QQ原生表情gif动态
这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。
使用wget下载电影
1.程序的安装: Wget是常用工具,系统自带。 2.Wget的使用: wget [参数] URL,如:在提示符下输入wget-c ftp://61.132.72.33/1202/gugong/01.avi 即可。假设该FTP存在密码,假设密码为password,用户名为user,你只需要将以上命令改成wget-c ftp://use
开源许可证的选择和使用
1. 从开源软件开发的角度来看,若只是利用开源程序包作为工具来生产与其分离的作品,那么绝大多数开源许可证都是可以的 2. 如果将软件用于商业性发行且不愿意发行自己所修改的源码,那么可以选择BSD许可证,它能使修改保持专有 3. 若希望源码总是自由的,GPL许可证及LGPL许可证是最佳选择 4. 若想在与其它人共享代码时提供相应的保护,可以选择MPL许可证,该许可证可通过将软件(和任何对它的修改)
使用gdb调试程序
一、调试方法: 首先, gdb到代码的出错处; 然后, bt(backtrace)看函数堆栈, 确定问题出在那条语句。 p(print) 打印变量的值,找原因 up 进入上一层堆栈, 追溯问题出在哪里。 二、 gdb 命令集 关于断点的命令:awatch:awatch用来为一个表达式设置观察点,在表达式的值发生改变时,或者当表达
安装gaim+openq的方法
一. 下载Gaim 1.5.0/Gaim 1.2.1地址: http://gaim.sourceforge.net/downloads.php注: 上面所说的两个版本偶测试过可以使用msn, gaim 1.0.1没有通过,其它版本没测试过.二、安装Gaim 1、解压 tar -zxvf gaim-1.5.0.tar.gz
Linux的手工网络设置
设置IP,可以直接编辑/etc/network/interfaces这个文件,固定IP这样写:auto lo eth0iface lo inet loopbackiface eth0 inet staticaddress 192.168.2.2netmask 255.255.255.0broadcast 192.168.2.255gateway 192.168.2.1里面把地址和网关设好即可。用
haoel的三篇好文
《编程修养》《跟我一起写makefile》《用GDB调试程序》
硬盘安装FC3的一波三折
电脑配置: IBM Thinkpad 23 PIII 1.1G/256M/30G 已安装了Windows XP sp2 打算做Linux/WindowsXP双启动第一步, 下载光盘镜像第二步, 网上搜索硬盘安装的方法第三步, 开始动手 首先在我的硬盘上整理出一个10G的空闲空间, 然后按照二的步骤,成功进入安装状态, 选
CVS 常用命令集
cvs add filename 将当前目录下的文件filename提交到服务器上 ; 在 接着运行 cvs commit使提交生效cvs add 目录名 提交一个服务器上不存在的目录; 接着运行cvs commit使提交生效cvs up 更新本地机上的代码库, 与服务器同步。 在提示信息中, P标识指从服务器更新过的文件。
摘录─GBK环境下Emacs与外部程序间拷贝、粘贴问题的解决方法
mule-gbk 是给 GNU Emacs21 写的 GBK 支持软件包. 在 emacs-unicode 正式融入 Emacs 的主干之前, 你很可能会需要用到 mule-gbk. 警告: 我不保证该软件不会损坏你的中文文本! GBK 是一套比 GB2312 更大的中文字符集, 确切地说是 GB2312 字符集的一个超集. GBK 既不是所谓的 94x94 或者 96x96 字符集也不是 U
安装使用MySQL时一个典型错误的解决
偶在Linux上顺利安装mysql,apache,php之后,编了一个连接数据库的.php页面,报如下错误: Cant connect to local MySQL server through socket /var/lib/mysql/mysql.sock 偶在网上搜了下,还是个很典型的错误,偶在google上搜了一些资料,成功解决.偶采取如下方法:
812



被折叠的 条评论
为什么被折叠?



